#283. 判断闰年
判断闰年
No submission language available for this problem.
Background
Special for beginners, ^_^
Description
输入一个年份,要求判定它是不是闰年。判别闰年的条件是:能被 4 整除但不能被 100 整除的是闰年 (如 1992 ); 能被 4 整除又能被 400 整除的是闰年 (如 2000),其他都不是闰年。
四年一闰百年不闰四百年又一闰
Format
Input
一个整数表示年份
Output
若是闰年输出 yes,否则输出 no
Samples
1992
yes
1991
no
Limitation
1s, 1024KiB for each test case.
Related
In following contests: