课例题 - 统计闰年
No testdata at current.
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.
题目描述
输入两个年份x和y,统计并输出公元x年到公元y年之间的所有闰年数(包括x年和y年),1<=x<=y<=3000。
输入输出说明
输入说明
一行两个正整数,分别表示x和y,之间用一个空格隔开。
输出说明
一行一个正整数,表示公元x年到公元y年之间的所有闰年数。
题目样例
样例输入
2000 2004
样例输出
2
菜就使劲练!!!
- Status
- Done
- Rule
- XCPC
- Problem
- 11
- Start at
- 2024-8-16 13:30
- End at
- 2024-8-16 17:00
- Duration
- 3.5 hour(s)
- Host
- Partic.
- 10