QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#574471#1980. Rule 110qiuzxTL 833ms27064kbC++205.4kb2024-09-18 22:16:032024-09-18 22:16:06

详细

Test #1:

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

input:

0000000000000000
1

output:

0

result:

ok single line: '0'

Test #2:

score: 0
Accepted
time: 1ms
memory: 3656kb

input:

1111111111111111
1

output:

3

result:

ok single line: '3'

Test #3:

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

input:

0111110110101000
100

output:

64

result:

ok single line: '64'

Test #4:

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

input:

0100011101011100
1000

output:

595

result:

ok single line: '595'

Test #5:

score: 0
Accepted
time: 780ms
memory: 27064kb

input:

0101111110101101
1000000

output:

591156

result:

ok single line: '591156'

Test #6:

score: 0
Accepted
time: 559ms
memory: 20528kb

input:

0011100001111110
1000000000

output:

582589283

result:

ok single line: '582589283'

Test #7:

score: 0
Accepted
time: 833ms
memory: 23092kb

input:

1010100010111101
1152921504606846975

output:

682111393702695301

result:

ok single line: '682111393702695301'

Test #8:

score: -100
Time Limit Exceeded

input:

1111111010101000
1152921504606846975

output:


result: