摘要:
这是一道简单的博弈题。刚开始我用建表的方法来做,代码如下://Time 31ms, Memory 15920K
#include
#include
using namespace std;
int a[2001][2001];
int main()
{ int i,j,n,m,t; memset(a,0,sizeof(a)); for(i=0;i>n>>m && (n || m)) { if(a[n-1][m-1]) cout
int main()
{ int n,m; while(scanf("%d%d",&n,&m)== 阅读全文
posted @ 2013-05-25 08:29
C语言程序
阅读(196)
评论(0)
推荐(0)

浙公网安备 33010602011771号