QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#617336#7679. Master of Both IVZhaoZiLongWA 19ms9080kbC++171.2kb2024-10-06 14:59:322024-10-06 14:59:33

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 8484kb

input:

2
3
1 2 3
5
3 3 5 1 1

output:

4
11

result:

ok 2 number(s): "4 11"

Test #2:

score: -100
Wrong Answer
time: 19ms
memory: 9080kb

input:

40000
5
4 2 5 5 5
5
5 5 5 5 4
5
1 4 4 4 2
5
2 5 2 4 1
5
3 2 4 5 3
5
1 5 5 3 4
5
5 5 5 4 3
5
4 3 3 5 1
5
4 5 5 2 1
5
2 5 4 2 5
5
3 4 3 4 3
5
5 3 5 1 3
5
5 1 2 4 4
5
4 2 5 1 5
5
5 4 2 5 4
5
5 2 5 2 4
5
1 4 5 4 5
5
4 2 3 2 3
5
1 4 1 3 5
5
1 1 2 1 5
5
5 2 5 1 3
5
3 1 2 5 3
5
5 5 1 1 5
5
2 2 2 1 3
5
3 1 ...

output:

8
12
8
9
8
8
8
8
8
9
12
8
8
8
8
9
12
9
11
14
8
8
15
12
8
11
8
8
8
12
15
9
9
8
8
8
11
9
11
12
15
8
15
8
8
8
8
12
11
8
8
11
8
8
11
15
9
8
9
8
8
14
11
8
15
9
15
8
8
8
12
9
8
11
8
13
9
8
14
8
8
8
8
8
8
15
8
11
12
8
9
11
8
18
11
13
18
15
12
14
8
8
8
9
8
8
12
15
15
8
9
15
9
11
8
8
11
8
9
11
8
9
8
12
15
11...

result:

wrong answer 1st numbers differ - expected: '9', found: '8'