QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#654347#7941. JackpotZhaoZiLongWA 65ms3504kbC++20712b2024-10-18 21:26:302024-10-18 21:26:32

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 65ms
memory: 3504kb

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:

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

result:

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