Mohan Abhyas's submission of Direct Segments | CodeChef