QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#483931#8823. Game: Battle of Menjisucup-team497#WA 108ms3608kbC++171.6kb2024-07-19 14:37:282024-07-19 14:37:30

详细

Test #1:

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

input:

4
2 3
1 1
4 4
0 0 0 0
4 1
1 2 4 8
13 5
1 1 4 5 1 4 1 9 1 9 8 1 0

output:

0
0
9
11

result:

ok 4 number(s): "0 0 9 11"

Test #2:

score: -100
Wrong Answer
time: 108ms
memory: 3584kb

input:

100000
1 5
0
4 5
4 4 3 5
5 2
0 1 7 5 4
4 1
6 4 4 4
1 5
3
2 2
1 1
3 1
5 4 0
2 4
0 3
2 2
1 7
3 1
2 1 6
2 4
5 1
3 1
3 7 0
4 4
7 5 4 4
3 3
1 1 5
1 3
3
3 2
3 7 4
4 1
3 1 0 5
5 3
6 2 3 6 3
3 1
2 6 6
4 4
5 4 1 3
2 1
4 4
4 5
0 1 6 5
4 5
0 7 7 5
2 4
4 0
5 1
7 0 2 6 0
3 4
5 2 3
2 3
4 3
3 2
1 0 1
2 2
6 5
5 1
6...

output:

0
2
7
2
0
0
1
3
6
5
4
4
2
5
0
0
7
2
0
3
0
2
5
2
3
4
7
0
3
2
2
4
4
2
4
6
1
3
2
7
4
0
4
6
2
4
0
0
7
0
2
2
1
0
4
0
0
0
1
0
1
3
3
0
0
1
5
5
5
1
6
2
1
2
0
0
1
4
3
6
7
7
0
1
0
0
0
4
0
4
7
0
7
0
6
0
5
4
7
4
0
6
4
0
3
4
7
5
4
4
3
6
1
0
5
4
2
1
1
0
0
0
0
0
1
0
0
0
0
4
6
3
1
0
5
0
0
0
3
0
0
2
0
0
1
2
0
7
6
7
...

result:

wrong answer 5th numbers differ - expected: '3', found: '0'