Result [link]

WA

Code [DL]

0>2* i:1+?v~ 2, n;
 ^ -$*68 +<

stdin

1100110101001001011010001010001110101101110001111110101011101010001100001000010101011110000011111110

stdout

330663624499279508581954617344

stderr

strace