QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#931673#2004. Crocodile's Underground CityMilmon #0 2ms14160kbC++20964b2025-03-11 16:08:302025-03-11 16:08:31

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 46
Accepted
time: 0ms
memory: 12112kb

input:

13 12 9
0 1 1
0 2 4
0 3 11
1 4 11
1 5 7
1 6 15
2 7 3
2 8 13
2 9 23
3 10 3
3 11 1
3 12 2
4 5 6 7 8 9 10 11 12
13

output:

Correct.

Test #2:

score: 46
Accepted
time: 0ms
memory: 12116kb

input:

17 16 11
0 1 3
0 2 1
0 16 10
1 3 1
1 4 2
1 5 8
1 6 1
2 7 5
2 8 4
3 9 4
3 10 5
3 11 7
4 12 9
4 13 5
13 14 2
13 15 3
5 6 7 8 9 10 11 12 14 15 16
9

output:

Correct.

Test #3:

score: 46
Accepted
time: 2ms
memory: 14160kb

input:

364 363 243
0 1 5467
0 2 7494
0 3 7866
1 4 8712
1 5 4222
1 6 965
2 7 2548
2 8 7874
2 9 7495
3 10 5689
3 11 8312
3 12 8017
4 13 3772
4 14 6137
4 15 6369
5 16 3140
5 17 3172
5 18 1095
6 19 2911
6 20 5370
6 21 9527
7 22 5740
7 23 934
7 24 7533
8 25 8764
8 26 4750
8 27 2730
9 28 374
9 29 7116
9 30 5429
...

output:

Correct.

Test #4:

score: 0
Wrong Answer
time: 0ms
memory: 12068kb

input:

999 998 593
159 274 73
156 723 72
252 910 28
725 444 43
727 312 34
588 958 24
304 386 76
35 912 84
428 540 59
447 492 21
785 711 88
328 77 20
810 573 55
582 219 15
624 979 54
790 48 97
100 987 44
851 405 43
975 313 29
130 766 39
592 755 85
796 928 41
739 97 33
958 914 25
409 844 82
306 552 99
124 43...

output:

Incorrect. Returned 498, Expected 470.

Subtask #2:

score: 0
Runtime Error

Test #9:

score: 43
Accepted
time: 2ms
memory: 12308kb

input:

180 5000 50
0 1 5056
1 2 5206
2 3 2716
3 4 6462
4 5 9699
5 6 748
6 7 8064
7 8 9906
8 9 5710
9 10 7776
10 11 8981
11 12 5351
12 13 7603
13 14 7860
14 15 6117
15 16 5350
16 17 2074
17 18 2448
18 19 4300
19 20 8707
20 21 3075
21 22 1227
22 23 7738
23 24 2987
24 25 5700
25 26 7985
26 27 9954
27 28 4165
...

output:

Correct.

Test #10:

score: 0
Runtime Error

input:

200 396 2
0 1 1974
0 100 8166
199 1 9339
199 100 3816
1 2 2411
1 101 7482
100 2 8069
100 101 6844
2 3 2101
2 102 118
101 3 4364
101 102 9370
3 4 5039
3 103 5457
102 4 9281
102 103 5121
4 5 1620
4 104 964
103 5 3350
103 104 8929
5 6 388
5 105 465
104 6 1472
104 105 6174
6 7 9351
6 106 999
105 7 6793
...

output:

Unauthorized output

Subtask #3:

score: 0
Skipped

Dependency #1:

0%