Andrey's submission of Range Minimum Queries | CodeChef