C. Mike and gcd problem 数论 + 贪心

NoSuchKey