QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#622733#7679. Master of Both IVucup-team2332WA 44ms6076kbC++202.2kb2024-10-09 01:12:132024-10-09 01:12:13

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 44ms
memory: 6076kb

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:

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

result:

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