You are viewing a single comment's thread. Return to all comments →
c#
public static long solve(int n, int m)
{ long nlong = (long)n; long mlong = (long)m; long cuts = (nlong * mlong) - 1; return cuts; Console.WriteLine(cuts); }
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#
public static long solve(int n, int m)