QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#464481#7318. Cute PandaUrdWA 5ms7772kbC++17901b2024-07-06 09:57:412024-07-06 09:57:42

详细

Test #1:

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

input:

5
8 4 8 3 10
1 0 4 5 1
5
9 4 10 0 4
3 5 2 2 1

output:

11
13

result:

ok 2 number(s): "11 13"

Test #2:

score: -100
Wrong Answer
time: 5ms
memory: 7712kb

input:

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

output:

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

result:

wrong answer 3rd numbers differ - expected: '12', found: '15'