[solution] Alice and Bob are playing a game. They have two positive integers �X and �Y Solution Codechef

Problem SOLUTION CODECHEF Alice and Bob are playing a game. They have two positive integers �X and �Y Solution Codechef In one operation: First Alice would replace exactly one of the numbers with the gcd of current numbers. In words, she would select either �X or �Y and replace it with gcd⁡(�,�)gcd(X,Y). Then Bob would replace exactly one of the numbers with the lcm of current numbers. Find the minimum sum of numbers … Read more