QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#230527#6523. Escape Planucup-team2042#WA 2192ms122928kbC++142.5kb2023-10-28 19:22:442023-10-28 19:22:44

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 7876kb

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: 2192ms
memory: 122928kb

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:

-1
1021
-1
6471
4729
8094
6029
-1
11567
10301
-1
1398
1019
-1
3113
3064
-1
5574
-1
1775
-1
6685
10827
1694
-1
-1
-1
2322
4183
-1
3067
-1
1779
-1
8341
6265
532
6560
-1
-1
1555
9173
-1
12599
-1
-1
-1
986
-1
-1
-1
3450
13534
-1
-1
3820
12526
270
-1
6380
4184
-1
4350
-1
-1
-1
2424
-1
-1
5014
-1
3122
-1
...

result:

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