You are viewing a single comment's thread. Return to all comments →
You need to handle overflow. long won't work in that case. if lcm > 1e18 don't multiply, and no need to consider that one either.
Seems like cookies are disabled on this browser, please enable them to open this website
Mehta and the Typical Supermarket
You are viewing a single comment's thread. Return to all comments →
You need to handle overflow. long won't work in that case. if lcm > 1e18 don't multiply, and no need to consider that one either.