QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#355568#962. Thanks to MikeMirzayanovCyber_PunkWA 1ms3744kbC++141.9kb2024-03-16 20:38:482024-03-16 20:38:49

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4
3 1 2 4

output:

16
4
1 1 1 1 
2
3 1 
4
1 1 1 1 
2
3 1 
4
1 1 1 1 
2
3 1 
4
1 1 1 1 
2
3 1 
4
1 1 1 1 
2
3 1 
4
1 1 1 1 
2
3 1 
4
1 1 1 1 
2
3 1 
4
1 1 1 1 
4
1 1 1 1 

result:

wrong answer the permutation is not sorted