This question was removed from the contest because of ambiguity. We are sorry for the inconvenience.
2 Likes
i implement it with updates but getting wrong answer, can someone explain where i;m getting wrong…
link - Online Compiler and IDE - GeeksforGeeks
thanks…
I think there is some problem with the testcases , as u can see that no one is able to get an ac. To check u can submit it on codeforces without updates.
1 Like
Actually i copy the code from codeforces and then add the update part…
Thanks…