Correct answer in compiler but WA after submitted

i got correct answer for my program in compiler but WA when it is submitted.Can i know what has gone wrong

Your logic is incorrect and please don’t ask question-related to ongoing contest!! What you can do is make your own test cases and see where your code is failing

@vijju123 how do you close the question??

When you have over 2000 or 3000 karma, you get the option of closing Q. As you gain karma, you get more privileges :smiley: . Last one is at 3000 though :frowning:

2 Likes

ohh!! okay