QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#732633#5665. AA Country and King DreamoonZhangYiDeWA 0ms3592kbC++231.5kb2024-11-10 15:22:272024-11-10 15:22:30

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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

result:

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