lokesh garg's submission of Sum Queries | CodeChef