遊戲與必勝策略

動態規劃法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
相關文章
相關標籤/搜索