You are here: Home → Forums → Grid Computing → Solution in haskell
Add a reply
main=getContents>>=print.maximum.foldr1(\x y->(zipWith(+)x y)++[sum x]).map(map read.words).lines
A 29degrees diversion |
main=getContents>>=print.maximum.foldr1(\x y->(zipWith(+)x y)++[sum x]).map(map read.words).linesWhy there's no section for haskell? :-)