QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#124839#6523. Escape PlanZhangYiDeWA 501ms43556kbC++171.6kb2023-07-15 16:25:112023-07-15 16:25:13

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 6000kb

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: 501ms
memory: 43556kb

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:

5109
1021
2379
2884
3514
1827
802
1638
695
1026
965
607
30
759
911
925
682
1138
1029
172
4639
909
669
520
2172
3194
705
1415
602
380
812
829
128
819
265
1206
339
291
458
442
58
35
2161
703
1566
1094
46
275
322
1847
-1
75
1459
945
1253
466
542
270
932
294
266
495
24
764
322
2066
321
-1
772
98
2240
30...

result:

wrong answer 3rd numbers differ - expected: '3293', found: '2379'