Code failed to submit ,no test cases found

I tried to solve ‘Tom and Jerry1’ problem at link CodeChef: Practical coding for everyone
After I passed the ‘Run’ stage I wanted to submit but it fails , but when I click ‘Debug my code’ it waits 10 seconds and shows the following error :
‘Unable to find test case, please try again in some time
Time:
0.00s’
What should I do with this???

@red_berry - this is working now. Ran your code on the problem.

Thanx ,
I see that it works now

Continuing the discussion from Code failed to submit ,no test cases found:

check this code