Result [link]

AC

Code [DL]

P d b  i
    10

stdin

1111000000011111010101111000101101111000010010110100111010110010010000100010101101000010110010010010

stdout

1189028679618886629415208627346

stderr

strace