QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#574570#1980. Rule 110qiuzxAC ✓1125ms111440kbC++203.0kb2024-09-18 22:54:492024-09-18 22:54:50

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

0000000000000000
1

output:

0

result:

ok single line: '0'

Test #2:

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

input:

1111111111111111
1

output:

3

result:

ok single line: '3'

Test #3:

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

input:

0111110110101000
100

output:

64

result:

ok single line: '64'

Test #4:

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

input:

0100011101011100
1000

output:

595

result:

ok single line: '595'

Test #5:

score: 0
Accepted
time: 544ms
memory: 11620kb

input:

0101111110101101
1000000

output:

591156

result:

ok single line: '591156'

Test #6:

score: 0
Accepted
time: 520ms
memory: 5416kb

input:

0011100001111110
1000000000

output:

582589283

result:

ok single line: '582589283'

Test #7:

score: 0
Accepted
time: 534ms
memory: 7736kb

input:

1010100010111101
1152921504606846975

output:

682111393702695301

result:

ok single line: '682111393702695301'

Test #8:

score: 0
Accepted
time: 1125ms
memory: 111440kb

input:

1111111010101000
1152921504606846975

output:

681294455007712610

result:

ok single line: '681294455007712610'

Test #9:

score: 0
Accepted
time: 849ms
memory: 111428kb

input:

0010111001010100
1000000000000

output:

590928742595

result:

ok single line: '590928742595'

Test #10:

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

input:

0010000001010100
0

output:

4

result:

ok single line: '4'