一维向量和二维向量
vector<int> a;
vector<int> a(10);
vector<int> a(10,1);
vector<int> b(a);
vector<int> b(a.begin(),a,begin+3);
int n[] = {1,2,3,4,5};
vector<int> a(n,n+5);
vector< vector<int> > vec(row,vector<int>(column));
vector< vector<int> > res(nums);
vector<vector<int> > res;
res.resize(r);
for (int k = 0; k < r; ++k){
res[k].resize(c);
}
a.size()
a.empty()
a.clear()
a.insert(a.begin(),1000);
a.insert(a.begin(),3,1000);
a.back()
vector<int> a(5,1);
vector<int> b;
b.insert(b.begin(),a.begin(),a.end())
b.erse(b.begin())
b.erse(b.begin(),b.begin()+3)
b.swap(a)
b.push_back(x)
for(auto it=res.begin();it!=res.end();){
if(*it == 0)
it = res.erase(it);
else
++it;
}
串
string str;
str.erase(a)
str.erase(a,b);
scanf("%s",s+1);
int n = strlen(s+1);
s[0] = '#';
s[n+1] = '#';
string sub = s.strsub(begin,len)
Map
map<int,int> a;
vector<pair<int,int>> a(count.begin(),count.end());
sort(a.begin(),a.end(),[](const pair<int,int> &a,const pair<int,int> &b) { return a.second < b.second; });
map<char, int,greater<int>> a;
unordered_map<int,int> a;
a.begin()->first;
a.begin()->second;
a.end()
a.rbegin()
a["IV"] = 4;
map<char,int> a1 ={{'I',1},{'V',5}}
if(a.find("IV") == a.end()){}
a.count(x) > 0
m.erase(key);
m.erase(it);
it = mapTest.erase(it);