Result [link]

WA

Code [DL]

function pohe(x)
  print(dec(x))
end
s = readline(STDIN)
a=parse(Int16,s,2)
print(a)

stdin

0011110011011110001000001110010100011101110101110110110111011011100110101100110101111111101100101111

stdout

stderr

strace