QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#491967#5665. AA Country and King Dreamoonucup-team4204WA 0ms7636kbC++207.4kb2024-07-26 03:03:462024-07-26 03:03:46

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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

result:

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