Run Error in test case 0

Why I am getting run error in tc 0 ?

10^6+1 don’t works in c++, change it to 1000001. Also one number can occur multiple times in input. Consider this testcase
5
1 1 2 3 1
output should be 1 1 1 2 3. So before printing i, iterator from j=0 to j<brr[i].

I modified the code but now it’s showing runtime error on code blocks even before giving input & right anwer on online ide. Why so ?

As I can see you got 100 points. Whats the doubt ? Can you plz elaborate?

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.