Niyaz Nigmatullin's submission of Gcd Queries | CodeChef