QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#688599#862. Social JusticeZhangYiDeWA 6ms9716kbC++172.5kb2024-10-30 11:23:312024-10-30 11:23:32

詳細信息

Test #1:

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

input:

3
4
1 2 3 4
3 2
5
1 15 2 5 1
2 1
5
1 2 3 1000 10000
4 3

output:

0

1
2 
2
4 5 

result:

ok 6 numbers

Test #2:

score: -100
Wrong Answer
time: 6ms
memory: 7736kb

input:

1000
1
10
3 2
2
10 100
3 2
3
10 10 100
3 2
4
1 2 3 4
3 2
5
1 15 2 5 1
2 1
5
1 2 3 1000 10000
4 3
6
1 2 3 4 1000 10000
4 3
5
50000 2 1 1 5000
2 1
10
1 15 2 5 1 10000 1 1 1 1
2 1
20
1 15 2 5 1 10000 1 1 1 1 1 15 2 5 1 10000 1 1 1 1
2 1
25
1 15 2 5 1 10000 1 1 1 1 1 15 2 5 1 10000 1 1 1 1 1 15 2 5 1
2 ...

output:

0

0

1
3 
0

1
2 
2
4 5 
3
1 5 6 
2
1 5 
3
2 4 6 
6
2 4 6 12 14 16 
8
2 4 6 12 14 16 22 24 
13
1 2 3 4 5 6 7 8 9 10 11 12 20 
15
1 2 3 4 5 6 7 8 9 10 11 12 18 19 20 
0

0

1
12 
0

10
1 4 5 6 7 13 14 15 18 20 
1
16 
1
18 
1
13 
10
4 5 6 9 11 15 16 18 19 20 
0

0

1
10 
0

10
1 2 4 6 8 9 11 13 18 20...

result:

wrong answer 69th numbers differ - expected: '2', found: '0'