Result [link]

AC

Code [DL]

0iS@q>dcnm2v
     |LdM+*<
  ;pm<

stdin

0110011011110001110100101111111000000000011100001111100110101000111011101010001101001101101000101010

stdout

509757096108328315041567005226

stderr

strace