F GCD Extreme (II) UVA 11426

Given the value of N, you will have to find the value of G. The definition of G is given below:

原文地址:https://www.cnblogs.com/OFSHK/p/11355491.html