QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#761705#9742. 优秀的拆分ucup-team5779WA 14ms9928kbC++142.9kb2024-11-19 09:15:552024-11-19 09:15:57

詳細信息

Test #1:

score: 100
Accepted
time: 2ms
memory: 9928kb

input:

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

output:

4
4
5

result:

ok 3 lines

Test #2:

score: -100
Wrong Answer
time: 14ms
memory: 9916kb

input:

20000
2
2 1
10
6 10 2 7 9 3 8 4 1 5
9
3 6 4 5 8 9 2 7 1
7
3 7 6 4 1 5 2
7
7 2 3 6 5 1 4
5
4 1 3 2 5
9
6 7 5 3 8 1 9 2 4
3
1 2 3
8
7 2 4 6 1 8 3 5
7
4 2 6 3 1 7 5
8
1 7 3 4 2 5 6 8
2
1 2
10
10 2 3 8 6 9 1 4 7 5
4
3 2 1 4
9
7 5 3 4 1 2 9 6 8
7
2 4 5 1 6 7 3
10
3 1 10 4 9 5 6 8 2 7
5
1 2 5 3 4
6
2 6 5 ...

output:

3
8
8
6
7
5
7
4
6
6
8
3
8
4
7
6
9
5
6
7
7
8
9
7
8
2
5
6
5
7
3
4
4
4
6
7
6
2
6
5
2
8
6
8
6
6
3
3
3
6
8
5
6
5
7
3
3
7
7
6
3
2
3
2
8
7
8
4
2
2
8
7
7
3
7
3
2
9
3
5
6
3
5
6
8
6
3
3
2
6
6
7
8
3
2
8
6
10
3
8
8
4
6
4
8
8
3
4
2
3
5
8
9
2
7
7
3
6
7
4
8
2
3
5
4
2
8
6
7
2
9
7
5
7
4
8
2
5
5
6
4
5
4
2
6
3
7
6
2
7...

result:

wrong answer 1st lines differ - expected: '2', found: '3'