[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
相关文章
相关标签/搜索
本站公众号
   欢迎关注本站公众号,获取更多信息