forgot password WA

plz can anyone point out the error…http://ideone.com/mIzKFy i spent lot of time over it…(>_<)

totally frustrated…

2 Likes

The fact that we can’t get the actual tests on which the solution fails is really aggravating.

http://ideone.com/MVGSk0 check this link i have given some test cases for which it is failing

1 Like

corrected it…http://ideone.com/GKIKz9
bt still its WA…:(:(:frowning:
and thanku for the help

upvote if it helped of mark it as best answer

@grvana take array size of 1000000 then check the result and i agree with u @amitt001

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

this is what i submitted

i guess there are some more corner cases…which i’m not satifying…and @sanzzzay i upvoted your answer…

bhai i am not much concerned about vote …amitt001 is … i have no problem and for input 0000000000000000000 it should give 0

1 Like

ok…chill i’m learning…
could u guide me how to tackle dp??? samaj he ni aati bilkul:(…like digijump

man i am also struggling with dp … check the tags with dp …http://discuss.codechef.com/tags/dp/

thanku for the help…

dont know what iz wrong now http://ideone.com/5l8Jy2