manas agrawal's submission of Sum Queries | CodeChef