RYIP在线题库
首 页   >   习题练习   >   提交
Problem1749--闰年和平年

1749: 闰年和平年

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

【 Description 】

输入一个年份,判断该年份是闰年还是平年,是闰年输出“leap year”,是平年输出“normal year”
闰年口诀:1、四年一闰,百年不闰;
                 2、四百年再闰。


【 Input 】

一行,一个整数n,表示某个年份

【 Output 】

一行,如果是闰年,屏幕上输出“leap year”,如果是平年,屏幕上输出“normal year”

【 Sample Input 】

2000

【 Sample Output 】

leap year

【 Source/Category 】