Q has been DELETED
Please refrain from asking questions related to logic/answer of an ongoing contest problem. Try to brainstorm to find the input for which your program is giving the wrong answer and fix your program wrt to it. We’ll be happy to help you after the contest is over.
sorry for my mistake abdullah768 but pls help me the contest is over.