Niyaz Nigmatullin's submission of Sum Queries | CodeChef