fork download
  1. set bin [gets stdin]
  2. set dec 0
  3. foreach char [split $bin ""] {set dec [expr {($dec << 1) + $char}]}
  4. puts $dec
  5.  
Success #stdin #stdout 0.01s 15768KB
stdin
1101000111010010010011000010110010100000111000000110010110000001110100100110000000011001100101100000
stdout
1038985619166112094008486500704