Problem H: 判断闰年
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:11
Solved:6
Description
|
输入一个年份,要求判定它是不是闰年。判别闰年的条件是:能被4整除但不能被100整除的是闰年(如1992);能被4整除又能被400整除的是闰年(如2000),其他都不是闰年。 输入:一个数表示年份 输出:是闰年输出yes 不是闰年则输出no |
Input
1992
Output
yes
Sample Input Copy
Sample Output Copy