Harsh Bhardwaj's submission of The Segment Game | CodeChef