Hello @all,
As some people were saying that the statement for this problem had some minor notation issues, namely with the limits for the test cases and for the values of n and m, I’ve decided to speak with admins about this matter.
You can now find the updated problem statement here.
Best regards,
Bruno