You are viewing a single comment's thread. Return to all comments →
C++ (you have to change input from an int to a long)
long solve(long n, long m) { return (n*m)-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 →
C++ (you have to change input from an int to a long)