Result [link]

WA

Code [DL]

{
  result = 0 
  for ( i = 1 ; i < NF+1 ; i++ ) {
    result = result * 2 + $i
  }
  printf("%d\n",$0,result)
}

stdin

0111111100110110100010110111001101100100110010100000000000111111110001111011011000101101100011001000

stdout

111111100110110105806965136502365097020395430921009715339863380454811509067018989729212232707866624

stderr

strace