QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#125344#6523. Escape PlanGuanYunchangWA 283ms36100kbC++202.4kb2023-07-16 16:06:302023-07-16 16:06:33

詳細信息

Test #1:

score: 100
Accepted
time: 2ms
memory: 6336kb

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: 283ms
memory: 36100kb

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:

4051
1021
2260
2950
3796
2575
1229
5365
1764
1849
1936
1957
865
3568
2162
3792
1839
2544
3271
1495
8280
3942
1075
2150
4271
11852
2525
2322
1113
1786
2479
1290
1702
-1
2467
6265
1575
2597
2063
2519
402
3769
6209
5027
5558
2752
-1
510
1683
8098
-1
2247
1642
3842
3517
1261
2616
270
3690
1688
2641
954
...

result:

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