Can anyone help me with this problem --> Gift Dilemma I tried extended gcd but that didn't work out, someone please help me with the logic
Help with a UVA problem
Can anyone help me with this problem --> Gift Dilemma I tried extended gcd but that didn't work out, someone please help me with the logic