Rosetta Problems

ICPC 2023 miền Trung - C: Greatest Common Divisor

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