why WA in TANGDIV

http://ideone.com/cnM7Ac …can anyone please tell me why i’m getting WA

@ingeniosus you are getting WA because of one silly mistake…:frowning:

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

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

1 Like
//