kut_Ri's submission of Bear and Segments | CodeChef