[UVA] 10365 - Blocks
Problem D: Blocks
Donald wishes to send a gift to his new nephew, Fooey. Donald is a bit
of a traditionalist, so he has chosen to send a set of N classic baby
blocks. Each block is a cube, 1 inch by 1 inch by 1 inch. Donald
wants to stack the blocks together into a rectang...