Tomek Czajka's submission of Trial of Doom | CodeChef