cleaning tables cletab

,

why is my code giving wrong answer pls provide me a test case or make me understand the problem with my logic as it is running fine in my system

http://www.codechef.com/viewsolution/4610950

problem page :-http://www.codechef.com/problems/CLETAB

//