Your solution seems alright. There is something with that TC, perhaps an extra space or something. I will inform @admin to fix that.
The problem is with Test Case. I’m sure.
In second TC, N is not same as the number of integers in the next line.
I remember getting many REs in 2nd TC before getting AC.
Sorry for the error. The testdata has been fixed now.
I should get some laddus for this.
Hmmm. Will you give us a treat? :3
U surely deserve a reward for identifying this.
And the reward is… . A beautiful green tick
I have seen your transition from 3* to 5* and I am very much inspired from you. I will surely give you a treat.
No green tick, I want 300 laddus for identifying this.
Awww, that was so sweet of you arpit!