QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#581975#962. Thanks to MikeMirzayanovReTFWA 1ms3596kbC++142.4kb2024-09-22 14:48:582024-09-22 14:48:59

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3584kb

input:

4
3 1 2 4

output:

120
3 2 1 1 
3 1 2 1 
4 1 1 1 1 
4 1 1 1 1 
4 1 1 1 1 
4 1 1 1 1 
4 1 1 1 1 
4 1 1 1 1 
4 1 1 1 1 
4 1 1 1 1 
4 1 1 1 1 
4 1 1 1 1 
4 1 1 1 1 
4 1 1 1 1 
4 1 1 1 1 
4 1 1 1 1 
4 1 1 1 1 
4 1 1 1 1 
4 1 1 1 1 
4 1 1 1 1 
4 1 1 1 1 
4 1 1 1 1 
4 1 1 1 1 
4 1 1 1 1 
4 1 1 1 1 
4 1 1 1 1 
4 1 1 1 1 
4 1...

result:

ok OK

Test #2:

score: 0
Accepted
time: 0ms
memory: 3596kb

input:

6
6 5 4 3 2 1

output:

120
3 2 2 2 
3 1 1 4 
4 2 2 1 1 
3 4 1 1 
3 4 1 1 
4 2 2 1 1 
6 1 1 1 1 1 1 
6 1 1 1 1 1 1 
6 1 1 1 1 1 1 
6 1 1 1 1 1 1 
6 1 1 1 1 1 1 
6 1 1 1 1 1 1 
6 1 1 1 1 1 1 
6 1 1 1 1 1 1 
6 1 1 1 1 1 1 
6 1 1 1 1 1 1 
6 1 1 1 1 1 1 
6 1 1 1 1 1 1 
6 1 1 1 1 1 1 
6 1 1 1 1 1 1 
6 1 1 1 1 1 1 
6 1 1 1 1 1 1...

result:

ok OK

Test #3:

score: -100
Wrong Answer
time: 1ms
memory: 3596kb

input:

1
1

output:

120
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1 1 
1...

result:

wrong answer Integer 1 violates the range [2, 1]