You can "select", "copy", "insert" and "move" in another place a figures on the screen of the graphic editor Paint2D.
You have on the screen portrayal of individual square. What the least quantity of these operations you have to do for building of another rectangle, which size is
B. The rectangle broke on the squares like individual square. (
A is width,
B is height).
B – is natural numbers, no more than 1000.
Minimal quantity of operations.