QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#742271#9432. PermutationHuluoboRE 0ms0kbC++143.4kb2024-11-13 16:14:392024-11-13 16:14:39

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Runtime Error

input:

5
1
2
0
1
2
1
2

output:

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

result: