hdu1564 简单博弈

多画几个图可以发现规律;

#include<stdio.h>
int main()
{
    int i,n;
    while(scanf("%d",&n)!=EOF)
    {
        if(!n)break;
        if(n%2)printf("ailyanlu\n");
        else printf("8600\n");
    }
}

 

posted @ 2015-08-23 13:14  sweat123  阅读(91)  评论(0编辑  收藏  举报