codeforces-366#--A
来源:互联网 发布:itunes软件下载到哪里 编辑:程序博客网 时间:2024/04/30 06:17
水题不多说。格式输出。。
#include <iostream>
#include <stdio.h>
using namespace std;
int main()
{
int n;
cin>>n;
if(n!=1)
printf("I hate that");
else
printf("I hate it");
for(int i=2;i<=n;i++)
{
if(i!=n)
{
if(i%2==0)
printf(" I love that");
else
printf(" I hate that");
}
else
{
if(i%2==0)
printf(" I love it");
else
printf(" I hate it");
}
}
printf("\n");
return 0;
}
0 0
- CodeForces 366A
- codeforces-366#--A
- CodeForces-a
- 【Codeforces Round #366 (Div. 2)】Codeforces 705A Hulk
- Codeforces 903A A
- CodeForces 366A - Dima and Guards
- CodeForces 366A Dima and Guards
- CodeForces - 366A Dima and Guards
- CodeForces 366A- Dima and Guards
- Codeforces 366A Dima and Guards 【水题】
- CodeForces 366A:Dima and Guards【水】
- CodeForces - 366A Dima and Guards (模拟)
- CodeForces 366A Dima and Guards
- Codeforces--366A--Dima and Guards
- 【CodeForces】[366A]Dima and Guards
- 【Codeforces】-366A- Dima and Guards
- Codeforces Round #366 (Div. 2) A. Hulk
- 【codeforces 366A Dima and Guards】
- Struts2 ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging
- 注册页面转向及前台数据校验
- 将一个表单提交给多个页面的方法
- Activiti 学习笔记五:流程变量
- 《C++编程规范——101条规则、准则与最佳实践》笔记006
- codeforces-366#--A
- JavaScript中的严格模式
- $.each(json,function(index,item){ }); jquery遍历
- 祖孙询问
- 文章标题
- codeforces-366#BSpider Man
- Java面试题
- 1055. 集体照 (25)
- java 接口实例