
21 Jul
2011
21 Jul
'11
11:26 a.m.
Hi Mukesh, it seems like in
main = do let l = solve . convexHull . format . map ( map readInt . words ) . tail . lines printf "%.2f\n" l return ()
a String argument for l is missing, because solve . convexHull . format . map ( map readInt . words ) . tail . lines has type String -> Double and for String -> Double there is no instance to print it, that's what the error message tells. Cheers, Daniel.