Dinesh Goyal's submission of Longest Good Segment | CodeChef