QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#505527#5944. Enclosurexiaowuc145 ✓1ms3636kbC++172.5kb2024-08-05 05:56:282024-08-05 05:56:29

详细

Subtask #1:

score: 15
Accepted

Test #1:

score: 15
Accepted
time: 0ms
memory: 3636kb

input:

100
6 2 8
14 1 13
1 5 2
1 13 11
10 2 14
1 16 12
5 4 16
2 1 2
1 12 10
1 1 1
1 11 7
2 2 3
5 4 14
4 5 14
20 1 17
2 9 12
4 3 2
1 16 15
4 2 7
18 1 15
3 6 4
2 6 7
2 10 15
1 3 1
1 16 3
1 2 1
3 2 4
3 5 8
2 5 8
17 1 1
20 1 5
3 3 5
15 1 4
4 4 14
4 5 10
7 2 9
2 2 3
1 19 4
1 6 5
1 4 3
4 4 12
9 1 1
18 1 8
19 1 1...

output:

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

result:

ok 100 lines

Subtask #2:

score: 30
Accepted

Test #2:

score: 30
Accepted
time: 1ms
memory: 3636kb

input:

100
1 342 130
588 1 395
125 5 20
53 1 26
357 2 117
5 186 554
639 1 12
1 5 5
445 2 663
1 484 87
4 4 10
23 32 649
310 1 90
28 16 131
3 3 5
29 26 473
65 6 143
4 4 14
144 4 429
3 4 10
5 29 17
448 2 569
474 1 2
966 1 39
8 102 319
4 130 191
304 1 48
147 3 352
55 16 9
26 7 86
217 4 296
1 368 41
4 5 14
439 ...

output:

Case #1: 130
Case #2: 395
Case #3: 11
Case #4: 26
Case #5: 117
Case #6: 225
Case #7: 12
Case #8: 5
Case #9: 663
Case #10: 87
Case #11: 7
Case #12: 82
Case #13: 90
Case #14: 31
Case #15: 4
Case #16: 61
Case #17: 52
Case #18: 10
Case #19: 217
Case #20: 8
Case #21: 10
Case #22: 569
Case #23: 2
Case #24...

result:

ok 100 lines

Extra Test:

score: 0
Extra Test Passed