QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#83040#5340. It Can Be Arrangedxiaowuc1AC ✓505ms58664kbJava114.8kb2023-03-01 05:33:152023-03-01 05:33:16

详细

Test #1:

score: 100
Accepted
time: 125ms
memory: 39740kb

input:

3
1 5
1 60 12
0
4 1
1 100 10
50 130 3
150 200 15
80 170 7
0 2 3 4
5 0 7 8
9 10 0 12
13 14 15 0
2 1
1 10 1
12 20 1
0 2
5 0

output:

Case 1: 3
Case 2: 22
Case 3: 2

result:

ok 3 lines

Test #2:

score: 0
Accepted
time: 505ms
memory: 58664kb

input:

93
73 2421
5 5997 5769
8953 13857 572
32065 39982 2558
29906 54006 3321
12912 18798 7139
28055 40575 8920
30260 41509 4672
18593 45948 8750
17795 40178 6221
16098 43279 5229
14957 39451 2945
32472 42065 6492
3588 14115 8299
12991 37234 3922
17784 41003 1252
21981 25241 4935
21382 44165 8795
16387 26...

output:

Case 1: 117
Case 2: 107
Case 3: 50
Case 4: 135
Case 5: 113
Case 6: 46
Case 7: 83
Case 8: 9
Case 9: 88
Case 10: 116
Case 11: 42
Case 12: 77
Case 13: 55
Case 14: 12
Case 15: 93
Case 16: 10
Case 17: 28
Case 18: 36
Case 19: 106
Case 20: 19
Case 21: 1
Case 22: 76
Case 23: 70
Case 24: 24
Case 25: 21
Case ...

result:

ok 93 lines