Bowen Yu's submission of Gcd Queries | CodeChef