Whats wrong with my code?

do it like this
vector<int> v[100]
you should have to mention the size of array
no don’t make it n;

Modified Code