Simulare IOIT 10H 0 | Dominant

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