I submitted a solution to Maximize Mex 2021B. I am getting "Runtime Error" which says "Exit code is 3". I am getting the error for test case 2 and test case is not visible
Submission Link : 298011073
Kindly help , this has been my unsolved since long time. Thanks in advance.
I think the tmp array is not keeping correct frequency of elements and try to maintain a map instead of vector
Exit code is 3
means there is a path problem.So it's probably a problem from the judge's side .I tried resubmitting and got
Memory limit exceeded on test 2
Try rewriting the code