Doubly Increasing Path | CodeChef