I am getting wrong answer when I run the code in code chef editor,why?

When I run my code in code chef it show wrong answer . But when I run my programme it’s give write answers.
Please tell me what is wrong in this programme.

please provide your code, and problem so as to help you out.

Have you checked given testCases? Your code is giving wrong answer for babb as no but answer should be yes… I hope you were talking about this problem…