sir i’ve solve this question(take the help of editorial 
) and on submitting the solution it is showing wrong ans
after hours of rechecking i unlock the test cases then found my answers are all correct ,then why is it showing wrong answer
i found this problem previously also.
It is showing correct answer as wrong answer
The doubt was reopened.Is your doubt resolved?
Mark the doubt as resolved if it is so.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.