QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#211505#962. Thanks to MikeMirzayanovWho_are_you_waitingWA 1ms3532kbC++204.3kb2023-10-12 17:30:122023-10-12 17:30:14

详细

Test #1:

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

input:

4
3 1 2 4

output:

3
2 1 3 
3 2 1 1 
2 2 2 

result:

ok OK

Test #2:

score: 0
Accepted
time: 1ms
memory: 3532kb

input:

6
6 5 4 3 2 1

output:

5
2 3 3 
4 1 2 1 2 
2 3 3 
6 1 1 1 1 1 1 
4 1 2 1 2 

result:

ok OK

Test #3:

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

input:

1
1

output:

0

result:

ok OK

Test #4:

score: 0
Accepted
time: 1ms
memory: 3508kb

input:

10
3 8 7 4 6 2 9 10 1 5

output:

9
5 1 3 1 1 4 
3 2 3 5 
2 3 7 
5 1 2 2 2 3 
3 5 1 4 
8 1 2 1 1 1 2 1 1 
8 1 1 1 2 1 1 1 2 
9 2 1 1 1 1 1 1 1 1 
8 1 1 1 2 1 1 1 2 

result:

ok OK

Test #5:

score: -100
Wrong Answer
time: 0ms
memory: 3500kb

input:

20
2 13 11 1 19 12 15 3 9 4 14 18 17 7 16 8 6 10 5 20

output:

12
8 1 3 3 3 4 1 4 1 
5 1 4 8 5 2 
3 2 17 1 
2 10 10 
9 1 1 2 3 3 2 4 2 2 
4 3 7 3 6 
6 4 1 5 1 4 5 
4 5 5 5 5 
10 3 1 1 3 2 1 2 2 3 2 
8 2 3 2 3 2 3 2 3 
17 2 1 1 1 1 1 1 1 1 2 1 1 1 2 1 1 1 
16 1 1 1 2 1 1 1 2 1 1 1 2 1 1 1 2 

result:

wrong answer total size of all parts is not equal to size of premutation