Im getting a RE.
Sort Game Problem
Hey @sounakume it is given in the constraints that 1 <= N <= 10^5 and you were taking arr of size 1000 so it was causing error, either take size of arr as given in question, or greater than equal to 10^5
Got it now, thank you for pointing out.