QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#124783#6523. Escape PlanHuangHanShengWA 287ms35212kbC++142.6kb2023-07-15 15:30:032023-07-15 15:30:04

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 12964kb

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: 287ms
memory: 35212kb

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
20150
14796
4908
8118
4870
14935
6231
8651
12815
6688
1487
10659
7047
16552
4322
5555
10989
4923
47261
8712
3807
2150
16091
48509
12172
2322
2523
5320
5742
5144
1779
-1
13008
25963
3431
7600
5281
10529
402
22185
40627
10541
55309
8763
-1
510
4335
41743
-1
7066
5879
40666
18293
3820
5375
2...

result:

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