I want to report wrong constraints / incorrect test cases in wakeup sid question(IMECO5D).
I have gone through accepted submissions of others and noticed that those who didn’t assert the constraint 0 <= L + R <= N - 1, got their answers accepted.
I ensured that constraint and got Wrong Answer.
I also found that many bruteforce solutions were accepted and some other solutions that didn’t handle integer overflows were also accepted. But according to the given constraints, they should result in Time Limit Exceeded or Wrong Answers.
So either this question must be removed or all the submissions must be rejudged with proper testcases.