Can someone point out some testcase where my STAIRWAY code gives wrong output

my code for CodeChef: Practical coding for everyone is failing to pass. can some one provide me the test cases where my code fails
Lpwu6I - Online C++ Compiler & Debugging Tool - Ideone.com

i too want to know its correct solution…can sm1 plz point out mistake in the above code

This is a restricted contest. It will only be accessible to users who are provided the permission. Please copy the problem statement here or provide some screenshots.

Problem not visible

This is a restricted contest. It will only be accessible to users who are provided the permission. Please copy the problem statement here or provide some screenshots.