QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#264402#6515. Path Planningucup-team2174#WA 18ms3548kbC++20675b2023-11-25 13:56:282023-11-25 13:56:28

詳細信息

Test #1:

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

input:

2
2 3
1 2 4
3 0 5
1 5
1 3 0 4 2

output:

3
5

result:

ok 2 number(s): "3 5"

Test #2:

score: -100
Wrong Answer
time: 18ms
memory: 3396kb

input:

10000
2 9
4 0 3 5 2 7 16 11 12
9 13 14 17 10 8 15 1 6
4 8
19 23 22 13 29 4 17 26
30 6 25 3 15 24 18 14
12 8 7 9 27 5 0 10
11 16 31 20 2 28 1 21
1 6
3 2 0 1 4 5
2 3
4 2 0
3 5 1
5 1
4
0
3
2
1
1 3
1 0 2
8 10
9 50 8 0 41 57 60 30 23 65
64 21 36 12 10 5 58 19 38 67
71 52 45 17 77 4 59 51 22 25
56 49 79 2...

output:

9
11
6
3
5
3
20
7
6
10
7
8
6
10
7
22
6
7
18
0
2
10
3
4
9
4
7
3
2
9
50
1
14
5
7
3
0
5
1
6
6
1
8
1
0
6
2
5
7
0
18
13
2
10
3
1
9
7
31
1
0
0
11
15
8
4
0
0
8
8
8
6
3
8
6
0
7
6
7
5
17
0
13
3
14
14
15
1
1
8
1
4
5
28
9
0
8
17
2
13
2
8
2
10
32
4
10
3
7
3
9
4
9
1
3
5
14
13
6
5
8
2
18
0
0
11
12
6
0
3
5
19
3
33...

result:

wrong answer 2nd numbers differ - expected: '2', found: '11'