QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#653204#7941. JackpotZhangYiDeWA 13ms3588kbC++171.2kb2024-10-18 19:42:252024-10-18 19:42:29

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 13ms
memory: 3584kb

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:

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

result:

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