闰年判断
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.
- 非整百年,能被 4 整除的为闰年。
 - 整百年,能被 400 整除的是闰年。
 
输入格式
输入只有一行,包含一个整数 a(0 < a < 3000)a(0<a<3000)。
输出格式
一行,如果公元 a 年是闰年输出"YES",否则输出"NO"。
格式说明
输出时每行末尾的多余空格,不影响答案正确性
样例输入
2006
样例输出
NO
【周天10:30】 10月20日
- Status
 - Done
 - Problem
 - 9
 - Open Since
 - 2024-10-20 0:00
 - Deadline
 - 2024-11-4 23:59
 - Extension
 - 24 hour(s)