QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#124764#6523. Escape PlanGuanYunchangWA 375ms35768kbC++142.4kb2023-07-15 15:18:462023-07-15 15:18:50

詳細信息

Test #1:

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

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: 375ms
memory: 35768kb

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:

18250
1021
19836
14197
5555
8118
5557
16281
9433
8651
15067
6688
1487
10659
7047
43921
4322
5555
10989
5036
26130
8712
3807
2150
34481
62536
12172
2322
2523
5320
5742
5144
1779
57571
12817
12138
7100
7600
5281
10595
402
31061
30869
10541
27036
12288
86619
510
12445
39424
-1
7066
6180
39096
24895
382...

result:

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