Mirror RCPC 2023 Day 1 | H. The Binary Matrix of All Time

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