Simulare ONI 9 | Permus

This was the problem page during the contest. Access the current page here.