hdu1847 Good Luck in CET-4 Everybody!

看了这篇博客做的,讲的很详细http://hi.baidu.com/kerrynit/item/58907a41ef970e18e835045a

#include<cstdio>
#include<iostream>
using namespace std;
int main()
{
	int n;
	while(cin>>n)
	{
		if(n%3==0)
		{
			cout<<"Cici"<<endl;
		}
		else
		{
			cout<<"Kiki"<<endl;
		}
	}
	return 0;
}


你可能感兴趣的:(hdu1847 Good Luck in CET-4 Everybody!)