Rosetta Problems

Free Contest 66 - GCDQUERY

https://oj.vnoi.info/problem/fc066_gcdquery