QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#88004#5752. Train Timetablexiaowuc125 ✓4ms3344kbC++172.0kb2023-03-14 22:59:302023-03-14 22:59:31

详细

Subtask #1:

score: 5
Accepted

Test #1:

score: 5
Accepted
time: 2ms
memory: 3344kb

input:

20
0
1 2
01:40 01:41
01:39 01:40
01:40 01:41
3
1 1
01:40 01:41
01:44 01:45
1
2 2
12:01 12:03
12:08 12:11
12:08 12:10
12:08 12:10
5
4 2
00:01 00:08
00:01 00:11
00:19 00:26
00:06 00:15
00:03 00:09
00:03 00:10
0
4 2
00:13 00:23
00:04 00:14
00:11 00:21
00:17 00:22
00:10 00:15
00:00 00:07
4
4 5
20:47 21:...

output:

Case #1: 0 2
Case #2: 1 0
Case #3: 2 1
Case #4: 3 2
Case #5: 2 2
Case #6: 3 3
Case #7: 4 8
Case #8: 2 9
Case #9: 7 6
Case #10: 9 6
Case #11: 9 3
Case #12: 2 1
Case #13: 2 0
Case #14: 2 5
Case #15: 14 0
Case #16: 0 10
Case #17: 6 11
Case #18: 2 1
Case #19: 4 4
Case #20: 5 6

result:

ok 20 lines

Subtask #2:

score: 20
Accepted

Test #2:

score: 20
Accepted
time: 4ms
memory: 3344kb

input:

100
0
1 2
01:40 01:41
01:39 01:40
01:40 01:41
3
1 1
01:40 01:41
01:44 01:45
10
3 2
01:40 01:41
01:40 01:42
01:40 01:43
01:49 01:50
01:50 01:51
1
2 2
12:06 12:07
12:10 12:13
12:05 12:07
12:02 12:03
5
4 2
00:06 00:15
00:04 00:14
00:01 00:07
00:01 00:10
00:05 00:12
00:05 00:13
0
4 2
00:08 00:14
00:09 0...

output:

Case #1: 0 2
Case #2: 1 0
Case #3: 3 2
Case #4: 0 2
Case #5: 4 2
Case #6: 3 1
Case #7: 3 4
Case #8: 6 6
Case #9: 3 9
Case #10: 0 44
Case #11: 9 37
Case #12: 8 26
Case #13: 85 3
Case #14: 1 11
Case #15: 21 0
Case #16: 7 10
Case #17: 13 0
Case #18: 2 9
Case #19: 3 13
Case #20: 2 4
Case #21: 6 5
Case #...

result:

ok 100 lines

Extra Test:

score: 0
Extra Test Passed