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

my code for https://www.codechef.com/DI15R048/problems/STAIRWAY is failing to pass. can some one provide me the test cases where my code fails
http://ideone.com/Lpwu6I

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

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.

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.