[例3.3]闰年判断
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
题目描述
输入一个年份,判断这一年是否是闰年,如果是输出 ,否则输出 。
输入格式
输入一个正整数 ,表示年份。
输出格式
输出一行。如果输入的年份是闰年则输出 ,否则输出 。
样例 #1
样例输入 #1
1926
样例输出 #1
0
样例 #2
样例输入 #2
1900
样例输出 #2
0
样例 #3
样例输入 #3
2000
样例输出 #3
1
提示
数据保证, 且年份为自然数。
龙凤苑中学A班5.17
- Status
- Done
- Rule
- IOI
- Problem
- 4
- Start at
- 2024-5-17 16:00
- End at
- 2024-5-17 18:00
- Duration
- 2 hour(s)
- Host
- Partic.
- 23