QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#720661#9432. Permutationucup-team580WA 1ms3600kbC++143.4kb2024-11-07 13:36:162024-11-07 13:36:16

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

5
1
0
1
0
1
1
1
2
2
0

output:

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

result:

wrong answer Wrong Anser