工作日统计
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.
题目描述
Csvoner 的竞赛上班时间是周三到周日。
已知 年 月 日 是星期四。
求 年 月 日到 年 月 日有多少个 Csvoner 竞赛上班日期。
输入格式
第一行一个整数 ,表示有 组询问。
每组询问为一行空格隔开的六个正整数:。
输出格式
对于每组询问,输出一行一个整数,即常规上班日期。
7
2025 7 1 2025 7 31
2025 7 25 2025 7 25
2025 7 1 2025 7 1
2025 1 1 2025 12 31
2028 1 1 2028 12 31
1970 1 1 2025 7 25
1970 1 1 9999 12 31
22
1
0
261
262
14497
2094927
数据规模与约定
对于 的数据,,保证日期合法且在 年 月 日与 年 月 日之间,保证查询的范围内至少有一天。
- 子任务 1(60 分):保证 且 。
- 子任务 2(30 分):保证 。
- 子任务 3(10 分):没有特殊限制。
2025 练习赛 2
- Status
- Done
- Rule
- IOI
- Problem
- 7
- Start at
- 2025-10-25 0:00
- End at
- 2025-10-27 0:00
- Duration
- 48 hour(s)
- Host
- Partic.
- 26