Number of Paths-WRONG ANSWER

i cant find out what is wrong with my code for this problem.
Here is the problem: http://www.codechef.com/problems/NUMPATH

My solution : http://www.codechef.com/viewsolution/4416595. Can some one help me out, or if possible give me a test case where my code fails.