QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#124772#6523. Escape PlanZhangYiDeWA 399ms35848kbC++142.5kb2023-07-15 15:23:062023-07-15 15:23:08

详细

Test #1:

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

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: 399ms
memory: 35848kb

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:

14286
1021
18560
14197
4908
8118
4870
16281
6231
8651
15067
6688
1487
10659
7047
43921
4322
5555
10989
4923
17056
8712
3807
2150
18538
62536
12172
2322
2523
5320
5742
5144
1779
57571
12817
12138
3431
7600
5281
10529
402
31061
30869
10541
27036
8763
86619
510
4335
39424
-1
7066
5879
39096
24895
3820
...

result:

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