QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#124805#6523. Escape PlanZhangYiDeWA 410ms83452kbC++111.5kb2023-07-15 15:51:552023-07-15 15:51:58

詳細信息

Test #1:

score: 100
Accepted
time: 12ms
memory: 57652kb

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: 410ms
memory: 83452kb

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:

7546
1021
8079
7428
3796
3536
5079
6772
4324
4143
4441
5030
865
5547
2646
3792
2401
2544
3698
1901
11918
6388
2026
2150
8412
15104
-1
2322
1113
3803
6087
1635
1779
-1
3029
6265
2065
2810
2647
3790
402
3769
-1
10625
7879
5070
-1
510
2636
11773
-1
3166
9944
7572
6854
3820
-1
270
5175
2166
3350
-1
1472...

result:

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