QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#654178#7941. JackpotMaMengQiWA 13ms3856kbC++20831b2024-10-18 21:12:242024-10-18 21:12:56

详细

Test #1:

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

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: 3836kb

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:

4
3
-3
0
3
1
1
0
-5
2
-2
0
1
-7
-3
0
-2
-8
-3
2
-2
3
5
4
1
3
4
-4
5
7
-4
-3
2
-1
3
6
-7
-4
-4
2
6
-9
2
2
6
0
-1
-3
8
-2
2
-2
-8
3
7
-5
1
2
-2
1
-1
-1
-5
-2
-5
2
-3
3
5
3
1
4
-2
6
0
0
2
0
-1
-2
8
5
2
-1
-1
-5
-3
-5
0
-4
2
-1
4
6
1
-9
7
1
0
4
1
2
1
0
-1
9
4
10
-1
0
5
-2
0
2
1
1
1
3
-5
-8
2
9
-3
-7
8
1...

result:

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