QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#124867#6523. Escape PlanHuangHanShengWA 865ms142688kbC++201.5kb2023-07-15 17:00:242023-07-15 17:00:26

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 3ms
memory: 33352kb

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: 865ms
memory: 142688kb

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:

2984
999
2579
1941
2491
1221
331
4488
866
1197
1119
1195
555
2060
1359
3792
1768
1641
2128
723
5385
2508
1320
1290
3848
10088
1745
2322
863
1375
2921
703
1082
31685
1044
4887
1414
791
1848
1567
402
2541
3129
3631
3952
3213
3137
510
1323
5446
-1
808
1764
1397
3983
1037
623
270
2752
485
2113
1535
1472...

result:

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