#4043. C++-五缘二四五年级_信息奥赛基础校队-输入年月,判断该月的天数。
C++-五缘二四五年级_信息奥赛基础校队-输入年月,判断该月的天数。
Background
Description
闰年平年的判断 非百年 一般的年份除以4,有余数的是平年,没有余数的是闰年 整百年 如果是那个年份是整百的,那么该年份除以400,有余数的是平年,没有余数的是闰年;
Format
Input
Output
Samples
1999
2
28
2000
2
29
2022
1
31
Limitation
1s, 1024KiB for each test case.
Statistics
Related
In following homework: