Nikolay Domashenko's submission of Sum Queries | CodeChef