#3914. C++-五缘二四五年级_信息奥赛基础校队-输入一个年份,输出闰年或平年。
C++-五缘二四五年级_信息奥赛基础校队-输入一个年份,输出闰年或平年。
Background
Description
输入一个年份,输出闰年或平年。闰年判断条件:能被4整除但不能被100整除,或者能被400整除的年份。
Format
Input
Output
One integer, the sum of x and y.
Samples
2004
闰年
2001
平年
2000
闰年
1900
平年
Limitation
1s, 1024KiB for each test case.
Statistics
Related
In following homework: