Help me in solving MEXARR problem

My issue

No

My code

#include <bits/stdc++.h>
using namespace std;

int main() {
	// your code goes here

}

Problem Link: MEXimize the Array Practice Coding Problem