CodeChef: Practical coding for everyone this is my solution to the holes in a text problem.Could anyone please tell me whats wrong?
There is a bug in your program.
Use getchar() after scanf() statement.
scanf("%d",&T); getchar(); while(T!=0)
It surely gives AC.
Thank you for your help.
cani use switch instead ???
my code couldnt be accpted due to exceeding time limit … why???