RoAlgo PreOJI 2025 VIII | Matrix

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