题目:http://acm.hdu.edu.cn/showproblem.php?pid=1847
一道简单的找规律的题,也属于博弈问题的一种,,,,
#include <iostream>
using namespace std;
int main()
{
int n;
while(cin>>n)
n%3?cout<<"Kiki"<<endl:cout<<"Cici"<<endl;
return 0;
}
微信扫一扫
题目:http://acm.hdu.edu.cn/showproblem.php?pid=1847
一道简单的找规律的题,也属于博弈问题的一种,,,,
#include <iostream>
using namespace std;
int main()
{
int n;
while(cin>>n)
n%3?cout<<"Kiki"<<endl:cout<<"Cici"<<endl;
return 0;
}
相关推荐