QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#217535#5665. AA Country and King Dreamoonucup-team1721WA 1ms5608kbC++172.5kb2023-10-16 23:00:382023-10-16 23:00:39

详细

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 5608kb

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 2 1 5 1 
1 2 3 2 4 2 1 5 1 
1 2 3 2 4 2 1 5 1 
1 2 3 2 4 2 1 5 1 
1 2 3 2 4 2 1 5 1 
1 2 1 3 1 4 1 5 1 
1 2 1 3 1 4 1 5 1 
1 2 1 3 1 4 1 5 1 
1 2 1 3 1 4 1 5 1 

result:

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