HDU 1564 Play a game
思路:对小数据暴力打表找规律
代码:
#include<iostream>
#include<cstdio>
#include<cmath>
#include<algorithm>
#include<vector>
#include<cstring>
using namespace std;
int main()
{
int n;
while(scanf("%d",&n)!=EOF&&n)
{
int tmp=n*n-1;
if(tmp%2==1)
printf("8600\n");
else
printf("ailyanlu\n");
}
return 0;
}