Rosetta Problems

Rectangle cutting

https://marisaoj.com/problem/150