QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#740775#9432. PermutationxiaruizeRE 0ms0kbC++173.6kb2024-11-13 11:26:322024-11-13 11:26:33

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Runtime Error

input:

5
0
1
2
1
2
2

output:

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

result: