You are viewing a single comment's thread. Return to all comments →
python 3
def solve(n: int, m: int) -> int: """ >>> solve(3, 1) 2 """ return n * m - 1 if __name__ == '__main__': import doctest doctest.testmod()
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 →
python 3