QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#517260#1668. GuideZhangYiDeWA 0ms3916kbC++202.0kb2024-08-13 10:31:102024-08-13 10:31:10

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3916kb

input:

3
6 2
1 1 2 2 3
6 6
1 1 2 2 3
6 4
1 2 3 4 5

output:

1
1 2 
8
1 2 4 2 5 2 1 3 6 
3
1 2 3 4 

result:

ok All testcases are passed!

Test #2:

score: 0
Accepted
time: 0ms
memory: 3892kb

input:

3
1 1

2 1
1
2 2
1

output:

0
1 
0
1 
1
1 2 

result:

ok All testcases are passed!

Test #3:

score: -100
Wrong Answer
time: 0ms
memory: 3852kb

input:

10
10 1
1 2 1 4 4 1 6 5 2
10 2
1 2 1 4 4 1 6 5 2
10 3
1 2 1 4 4 1 6 5 2
10 4
1 2 1 4 4 1 6 5 2
10 5
1 2 1 4 4 1 6 5 2
10 6
1 2 1 4 4 1 6 5 2
10 7
1 2 1 4 4 1 6 5 2
10 8
1 2 1 4 4 1 6 5 2
10 9
1 2 1 4 4 1 6 5 2
10 10
1 2 1 4 4 1 6 5 2

output:

0
1 
1
1 2 
2
1 2 3 
3
1 4 5 9 
5
1 4 5 4 6 8 
7
1 4 5 9 5 4 6 8 
9
1 2 1 4 5 9 5 4 6 8 
11
1 2 3 2 1 4 5 9 5 4 6 8 
13
1 2 3 2 10 2 1 4 5 9 5 4 6 8 
17
1 2 3 2 10 2 1 4 5 9 5 4 6 8 6 4 1 7 

result:

wrong answer Testcase 10. The length of the participant's path does not equal to jury's path: 17 instead of 15