You are viewing a single comment's thread. Return to all comments →
A minimal complete solution in Haskell is rather trivial
main = getLine >> getLine >>= print. foldr1 lcm. map read. words
Seems like cookies are disabled on this browser, please enable them to open this website
Jumping Bunnies
You are viewing a single comment's thread. Return to all comments →
A minimal complete solution in Haskell is rather trivial