QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#491976#5665. AA Country and King Dreamoonucup-team4204WA 0ms7724kbC++203.0kb2024-07-26 03:16:472024-07-26 03:16:47

详细

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 7724kb

input:

9
5
1 2 3 2 0 2 1 5 1
5
1 2 3 0 0 2 1 5 1
5
1 2 0 0 0 2 1 5 1
5
1 2 0 0 0 0 1 5 1
5
1 0 0 0 0 0 1 5 1
5
1 0 0 0 0 0 0 5 1
5
1 0 0 0 0 0 0 0 1
5
1 0 0 0 0 0 0 0 0
5
0 0 0 0 0 0 0 0 0

output:

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

result:

wrong answer 1st lines differ - expected: '1 2 3 2 4 2 1 5 1', found: '1 2 3 2 4 1 2 3 2 2 1 5 1 '