Result [link]

AC

Code [DL]

q1/2b

stdin

1110100100010110110000110111001100000001011110111010011011101110111100000010011001101110000101101011

stdout

1154200426229624215575479116139

stderr