fork download
  1. bin2dec = foldl1 ((+) . (/ 2))
  2.  
  3. main :: IO ()
  4. main = print ( bin2dec (reverse [0,0,0,0,1,1,1,0,0,0,1,1,0,1,0,1,0,0,1,1,1,1,1,1,0,1,1,1,1,1,0,0,1,1,1,0,1,1,0,1,1,0,0,1,0,0,0,1,0,1,1,0,1,0,0,0,1]))
  5. --main = print ( bin2dec (reverse [0,0,0,0,1,1,1,0,0,0,1,1,0,1,0,1,0,0,1,1,1,1,1,1,0,1,1,1,1,0,0,1,1,1,0,1,1,0,1,1,0,0,1,0,0,0,1,0,1,1]))
Success #stdin #stdout 0s 6304KB
stdin
Standard input is empty
stdout
0.111