Vivek Puri's submission of Gcd Queries | CodeChef