Problem L: 判断闰年

Problem L: 判断闰年

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MiB

Description

输入年份,判断是不是闰年,是输出 Yes,否输出 No。


  • 平年 365 天,闰年 366 天
  • 闰年规则:
  • 能被 4 整除 且 不能被 100 整除
  • 或 能被 400 整除
  • 每月天数:平年 [31,28,31,30,31,30,31,31,30,31,30,31]

Sample Input Copy

2024

Sample Output Copy

Yes