QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#658696#7941. JackpotMaMengQiWA 35ms3648kbC++20660b2024-10-19 17:23:552024-10-19 17:23:56

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
2
42 42 42 42
1
42 69
3
1 2 3 4 5 6

output:

0
27
9

result:

ok 3 number(s): "0 27 9"

Test #2:

score: -100
Wrong Answer
time: 35ms
memory: 3648kb

input:

47988
3
1 6 4 4 5 6
3
2 1 2 1 1 6
3
2 1 4 1 1 2
3
6 3 1 3 6 1
3
1 2 6 2 4 6
3
1 1 2 1 1 3
3
4 3 3 2 5 4
3
5 1 3 3 4 2
3
6 1 5 4 2 1
3
2 2 6 4 4 4
3
1 3 6 1 2 5
3
1 1 6 4 2 2
3
2 5 3 4 3 4
3
3 5 6 1 4 2
3
5 3 3 2 1 5
3
6 3 2 3 3 5
3
5 4 4 4 6 1
3
6 5 6 4 4 1
3
5 6 4 3 5 4
3
1 3 4 3 6 1
3
5 4 4 3 6 2
...

output:

8
5
3
6
11
3
5
6
11
6
8
8
5
9
5
6
6
6
3
8
6
5
9
8
7
7
6
6
7
9
10
5
6
5
9
10
3
4
6
6
8
1
6
4
6
6
5
3
8
6
4
6
8
5
7
5
5
4
4
9
7
5
5
6
5
6
7
7
11
7
11
6
12
6
8
8
6
10
3
8
8
7
6
5
7
3
3
3
4
6
6
5
4
10
5
9
9
5
8
6
7
6
5
2
5
9
12
10
5
6
13
6
10
8
5
5
7
7
3
4
8
9
5
5
8
10
7
4
7
5
4
5
8
13
4
3
10
8
6
4
6
6
...

result:

wrong answer 2nd numbers differ - expected: '7', found: '5'