zju1024Calendar Game
摘要:
#include<iostream>#include<cstring>using namespace std;int maxd[13]={0,31,28,31,30,31,30,31,31,30,31,30,31};//每个月最多天数int iswin[102][13][32];//以该天起始,亚当是否会赢 1会赢 0 会输 -1还没计算过int judge(int y,int m,int d){ int win=0; if(y==101&&m==11&&d==4)return 0;//若Eve成功 if(y>101||(y==10 阅读全文