can anybody plz help me with my code…
its giving WA…and i m unable to figure it out…
here is my code
http://www.codechef.com/viewsolution/1854752
http://www.codechef.com/viewsolution/1854800 see this i just changed your code
scanf("%d",&t);//instead of scanf("%d\n",&t);
gets(s);//to read the new line
and i got an AC.
1 Like