Feedback for CHBLLNS problem

Problem Link: CHBLLNS Problem - CodeChef


I am getting the right answer in the output section, within the Tim limit, but while submitting it says wrong answer.

In the output section, you get only sample testcase.

There are other test case for which your code might fail.