You are viewing a single comment's thread. Return to all comments →
Java 8 solution
return BigInteger.valueOf(n).multiply(BigInteger.valueOf(m)).longValue()-1;
Seems like cookies are disabled on this browser, please enable them to open this website
Cutting Paper Squares
You are viewing a single comment's thread. Return to all comments →
Java 8 solution