QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#466320#6523. Escape PlanGuanYunchangWA 511ms51040kbC++171.5kb2024-07-07 18:13:132024-07-07 18:13:13

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 7912kb

input:

2
3 4 1
3
1 1 1
1 2 1
1 2 2
2 3 1
2 3 2
3 2 2
2 3
2 0 0
1 2 1
1 3 1

output:

4
-1

result:

ok 2 number(s): "4 -1"

Test #2:

score: -100
Wrong Answer
time: 511ms
memory: 51040kb

input:

100
100 1808 2
94 47
3 3 0 2 4 3 3 4 0 0 2 2 2 3 2 4 0 2 3 4 4 2 0 3 4 3 1 0 2 1 2 2 0 3 4 4 4 1 2 2 3 1 0 0 3 1 4 2 1 3 3 4 3 0 4 1 0 3 2 1 4 4 1 3 2 3 3 3 3 1 0 3 0 4 3 1 0 4 0 4 4 1 2 0 0 4 1 3 3 3 0 2 2 1 1 2 3 4 1 2
72 29 1138
59 78 2398
95 5 1610
32 46 4176
36 99 8143
100 69 413
61 58 1595
9 9...

output:

10066
1021
7388
7333
4908
6137
4117
12073
4997
4794
6709
4292
1428
9305
3542
12486
6617
5093
7707
3731
13199
13114
3205
8924
15860
18912
6228
15275
1318
4526
6087
3304
2735
-1
12842
6265
3755
5442
3917
5894
402
13640
-1
10931
11053
7105
-1
986
3623
27647
-1
3166
5970
15924
10732
2303
6451
270
7188
2...

result:

wrong answer 1st numbers differ - expected: '5109', found: '10066'