POJ - 2484 A Funny Game
#include<iostream>
#include<algorithm>
using namespace std;
int main()
{
ios::sync_with_stdio(false);
int n;
while(cin>>n,n)
{
if(n<=2)
cout<<"Alice\n";
else
cout<<"Bob\n";
}
return 0;
}
本文来自博客园,作者:斯文~,转载请注明原文链接:https://www.cnblogs.com/zhiweb/p/15483237.html

浙公网安备 33010602011771号