RoAlgo Contest #8 | Gya-chan and the gcd operation

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