Mirror RCPC 2023 Day 1 | I. Weird Divisibility

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