Kevin Sun's submission of Adding on Segments | CodeChef