QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#246718#7679. Master of Both IVucup-team2438WA 52ms4632kbC++205.3kb2023-11-11 01:32:192023-11-11 01:32:20

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 52ms
memory: 4632kb

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:

3203081
7
9
9
4804618
1601545
1601543
1601545
8
6
1601543
8
8
8
1601543
6
7
6
10
15
8
8
13
9
8
11
8
4804618
1601543
7
11
9
6
8
8
4804618
11
9
10
1601546
10
1601543
8
3203081
8
8
8
6
11
8
3203080
11
7
1601543
10
10
9
8
6
8
8
15
11
8
13
6
9
1601545
8
8
8
9
3203081
11
8
13
9
8
15
4804618
8
3203081
4804...

result:

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