QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#505523#5947. Don't Break The Nilexiaowuc130 ✓85ms4120kbC++173.1kb2024-08-05 05:55:022024-08-05 05:55:08

詳細信息

Subtask #1:

score: 10
Accepted

Test #1:

score: 10
Accepted
time: 1ms
memory: 3816kb

input:

100
16 419 0
100 500 10
35 322 66 396
68 250 82 420
5 121 42 318
20 375 26 479
94 192 97 233
55 160 63 186
60 145 70 147
50 34 88 61
22 46 32 98
45 158 54 272
100 500 10
8 17 39 311
95 254 96 388
15 340 33 396
55 202 91 268
41 88 47 108
60 375 82 425
59 54 79 113
50 65 54 490
74 288 91 305
7 419 16 ...

output:

Case #1: 16
Case #2: 26
Case #3: 17
Case #4: 37
Case #5: 1
Case #6: 13
Case #7: 34
Case #8: 0
Case #9: 37
Case #10: 12
Case #11: 18
Case #12: 0
Case #13: 0
Case #14: 0
Case #15: 19
Case #16: 0
Case #17: 0
Case #18: 5
Case #19: 0
Case #20: 26
Case #21: 4
Case #22: 35
Case #23: 31
Case #24: 0
Case #25...

result:

ok 100 lines

Subtask #2:

score: 20
Accepted

Test #2:

score: 20
Accepted
time: 85ms
memory: 4120kb

input:

100
84 50179773 32
20 32106308 34 47087131
4 6143627 58 7485509
2 33630407 9 37620847
17 13949314 77 19091045
14 19581218 32 24801601
36 30619147 57 41800856
72 337518 76 12161651
65 48679970 81 48726892
6 1649581 67 4149005
81 23550973 81 35817181
7 28241840 52 28815431
7 8797285 61 11989656
71 204...

output:

Case #1: 14
Case #2: 165
Case #3: 175
Case #4: 99
Case #5: 2
Case #6: 8
Case #7: 93
Case #8: 86
Case #9: 14
Case #10: 0
Case #11: 17
Case #12: 15
Case #13: 35
Case #14: 953
Case #15: 954
Case #16: 30
Case #17: 0
Case #18: 0
Case #19: 0
Case #20: 2
Case #21: 72
Case #22: 117
Case #23: 111
Case #24: 6...

result:

ok 100 lines

Extra Test:

score: 0
Extra Test Passed