QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#797230#2595. Interesting SubsegmentsZhaoZiLong WA 60ms11464kbC++23725b2024-12-02 19:35:412024-12-02 19:35:51

详细

Test #1:

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

input:

5 3

output:

0 1 0 1 0 

result:

ok 5 number(s): "0 1 0 1 0"

Test #2:

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

input:

5 5

output:

-1

result:

ok 1 number(s): "-1"

Test #3:

score: 0
Accepted
time: 60ms
memory: 11464kb

input:

1000000 499999500000

output:

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...

result:

ok 1000000 numbers

Test #4:

score: 0
Accepted
time: 13ms
memory: 11436kb

input:

1000000 1000000000

output:

-1

result:

ok 1 number(s): "-1"

Test #5:

score: -100
Wrong Answer
time: 0ms
memory: 11392kb

input:

1 1

output:

1 0 1 

result:

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