现在的位置: 首页 > 综合 > 正文

hdu1847 Good Luck in CET-4 Everybody!

2013年06月25日 ⁄ 综合 ⁄ 共 219字 ⁄ 字号 评论关闭

看了这篇博客做的,讲的很详细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;
}

抱歉!评论已关闭.