Wakanda Forever

We all know that Thanos has erased half of the population of the universe. Earth’s population was al…

Click here to read the complete problem statement.


If you need help solving this problem, mention your approach and ask specific questions. Please avoid sharing your code and asking the Community to figure out “what’s wrong”.

If I remember correctly there’s issue with the constraint of n and m. It should be 10^5 instead of 105

1 Like

Thank you for reporting this. The problem statement has been updated.