Tiles Creator

Limits: 1s, 256 MB

In the world of tiles, there is a famous tiles maker who takes order for making tiles. The specialty about him is that he always creates square tiles and likes to cover up the given area using minimum number of tiles.

This is a companion discussion topic for the original entry at https://toph.co/p/tiles-creator