Toggle navigation
编绘童年
F.A.Qs
ProblemSet
Source/Category
Status
Ranklist
Contest
[
ProblemSet
Status
Ranklist
OI Ranklist
Statistics
]
Login
Problem F: 判断闰年
Problem F: 判断闰年
Time Limit:
1
Sec
Memory Limit:
128 MB
Submit:
121
Solved:
49
[
Status
] [
Submit
] [Creator:
]
Description
输入一个整数 y(1000 ≤ y ≤ 9999),判断公元 y 年是不是闰年。
Input
一个整数 y(1000 ≤ y ≤ 9999),表示年份。
Output
如果 y 年是闰年,输出
leap year
;否则,输出
common year
。
Sample Input
Copy
2025
Sample Output
Copy
common year