Help me in solving INCRDEC problem

Problem Link: INCRDEC Problem - CodeChef
Actually i dont get it the question…if anyone can explain the sample input output,it will be much helpful for me