#include<bits/stdc++.h>
using namespace std;
vector<int>arr;
signed main(){
arr.resize(1,10);
int*pt=&arr[0];
cout<<*pt<<endl;
arr.resize(100);
cout<<*pt<<endl;
}
I2luY2x1ZGU8Yml0cy9zdGRjKysuaD4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCnZlY3RvcjxpbnQ+YXJyOwoKc2lnbmVkIG1haW4oKXsKCWFyci5yZXNpemUoMSwxMCk7CglpbnQqcHQ9JmFyclswXTsKCWNvdXQ8PCpwdDw8ZW5kbDsKCWFyci5yZXNpemUoMTAwKTsKCWNvdXQ8PCpwdDw8ZW5kbDsKfQ==