fork download
  1. main = print (length (filter f [1..1996]))
  2. where f x = or [ x`mod`k == 0 | k <- [4,6,10] ]
Success #stdin #stdout 0s 6268KB
stdin
Standard input is empty
stdout
732