Margin Patel's submission of Sum Queries | CodeChef