[codevs2618] 核電站問題

題解:由1維dp的方法,數據過小,寫的2維ios #include <iostream> #include <cstdio> using namespace std; #define ll long long int n,m; ll f[100][5]; ll dfs(int x,int s) { if(s==m) return 0;//先寫這句 if(x==n+1) return
相關文章
相關標籤/搜索
本站公眾號
   歡迎關注本站公眾號,獲取更多信息