Why this code is wrong

#include
#include
using namespace std;

int main()
{
vector v;
v.reserve(1);

for(int i = 0;i < 11;i++)
cin >> v[i];

for(int i = 0;i < 5;i++)
cout<<v[i];
}
a