This comment is hidden because it contains spoiler information about the solution
C Translation kumited.
maths, not code!
there are many math problems when we are coding,some skills can raise up the program operation efficiency.
how this looks extremely tricky. However, if there's a mathematical shortcut....maybe it's solvable
What the heck does this have to do with learning to code? It's just a math problem.
Seems awfully familiar to Project Euler problems 112 and 113...
Remember, rectangles can overlap each other. They don't need to all fit in at once.
Hello, if we have 1 rectangle sized 32 and 6 rectangles sized 1x1 they are equal and total count of rectangles == 6. But 4 rectangles sized 21 == 8.
Are you sure that 4 rectangles sized 2x1 is correct value? for n = 2 and m = 3 ?
Not the kind of problem I'm interested in. "Oh, look, a math riddle. lmgtfy!" Apparently other people like it, though.