您的位置:首页 > 其它

zoj 3882 博弈 *

2015-08-17 16:36 369 查看
看了半天约数居然包括1,水了

#include<cstdio>
#include<iostream>
#include<algorithm>
#include<cstring>
#include<cmath>
#include<queue>
#include<map>
using namespace std;
#define MOD 1000000007
const int INF=0x3f3f3f3f;
const double eps=1e-5;
typedef long long ll;
#define cl(a) memset(a,0,sizeof(a))
#define ts printf("*****\n");
const int N=1005;
int n,m,tt;
int main()
{
int i,j,k,ca=1;
while(scanf("%d",&n)!=EOF)
{
puts(n?"win":"fail");
}
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: