摘要: 取石子游戏 1 #include<iostream> 2 using namespace std; 3 4 int main(){ 5 int a,b; 6 while(cin>>a>>b){ 7 if(!a&&!b)break; 8 int ans=0; 9 int t=max(a,b); 10 阅读全文
posted @ 2021-08-06 14:05 Rekord 阅读(884) 评论(0) 推荐(0)
摘要: 棋盘问题 1 #include<iostream> 2 #include<cstring> 3 using namespace std; 4 5 const int N=10; 6 int ans,n,k,a[N][N],b[N]; 7 8 bool check(int c,int r){ 9 fo 阅读全文
posted @ 2021-08-06 13:31 Rekord 阅读(152) 评论(0) 推荐(0)