游戏与必胜策略

动态规划法ios #include<iostream> #include<cstdio> using namespace std; const int maxk=1000; const int maxx=1000; int x,k,a[maxk]; //动态规划所用到的数组 bool win[maxx+1]; void solve() { win[0]=false; for
相关文章
相关标签/搜索