#include<cstdio>
#include<vector>
using namespace std;
vector<bool> ans;
int main(){
int n;
ans.resize(3);
ans.push_back(true);
ans.push_back(true);
ans.push_back(true);
return 0;
}
此时ans大小为6
ans[0]~ ans[5]为 false false false true true true