QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#124814#6523. Escape PlanGuanYunchangWA 803ms95688kbC++111.2kb2023-07-15 16:09:392023-07-15 16:09:43

详细

Test #1:

score: 100
Accepted
time: 8ms
memory: 32336kb

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: 803ms
memory: 95688kb

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:

10500
9039
12589
13546
13161
11972
11203
14381
10312
11099
13140
11865
10283
13502
11241
4580
11265
12096
13064
9924
18307
12942
11589
10757
16199
22655
12279
2322
10125
11688
11358
11004
8353
-1
12341
13998
10159
8948
11385
12929
8124
10795
24977
14522
15071
11805
-1
9076
10125
19045
-1
12235
13234...

result:

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