3dprinters Kattis problem: https://open.kattis.com/problems/3dprinter Author: Max Malmer, [email protected]