Dinesh Goyal's submission of Max Range Queries | CodeChef