[UVA] 434 - Matty's Blocks
Matty's Blocks
Little Matty liked playing with his blocks very much. He always
constructed his `buildings' in the same way: he made stacks of one or
more blocks, and he put those stacks on a square table that was exactly K blocks wide (K = 8 for his largest ...