http://ideone.com/cnM7Ac …can anyone please tell me why i’m getting WA
@ingeniosus you are getting WA because of one silly mistake…
just put count=0; after while(t–) i.e.
while(t–)
count=0;
and get “CORRECT ANSWER”.
Here is my link to this accepted answer
1 Like