QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#522716#8066. Bombardmentgym#RE 443ms73404kbC++142.7kb2024-08-17 12:19:032024-08-17 12:19:03

詳細信息

Test #1:

score: 100
Accepted
time: 3ms
memory: 15860kb

input:

7 1
1 2 3 3 4 4 5

output:

3
3 0 4 

result:

ok 2 lines

Test #2:

score: 0
Accepted
time: 0ms
memory: 15928kb

input:

6 1
5 -2 5 0 1 2

output:

3
1 4 -3 

result:

ok 2 lines

Test #3:

score: 0
Accepted
time: 2ms
memory: 16168kb

input:

6 2
5 -2 5 0 1 2

output:

2
0 3 

result:

ok 2 lines

Test #4:

score: 0
Accepted
time: 0ms
memory: 16088kb

input:

6 3
5 -2 5 0 1 2

output:

2
2 -5 

result:

ok 2 lines

Test #5:

score: 0
Accepted
time: 443ms
memory: 73404kb

input:

500000 25001
87425 164368 453013 281759 284570 187224 36997 420851 299754 449905 427728 327897 213484 414578 117919 430225 250744 108264 279365 398633 374591 449596 173533 132365 60100 123114 278 170508 116490 90071 381571 353436 302710 342319 410089 114375 345407 270822 264372 326998 345344 498062 ...

output:

10
25001 75004 125007 175010 225013 275016 325019 375022 425025 474998 

result:

ok 2 lines

Test #6:

score: 0
Accepted
time: 2ms
memory: 15864kb

input:

1 1
0

output:

1
-1 

result:

ok 2 lines

Test #7:

score: 0
Accepted
time: 0ms
memory: 15868kb

input:

2 1
-1 1

output:

1
0 

result:

ok 2 lines

Test #8:

score: 0
Accepted
time: 0ms
memory: 15896kb

input:

2 1
1 -1

output:

1
0 

result:

ok 2 lines

Test #9:

score: 0
Accepted
time: 2ms
memory: 16132kb

input:

2 2
1 -1

output:

1
-1 

result:

ok 2 lines

Test #10:

score: -100
Runtime Error

input:

1 5000001
-100000000

output:


result: