#include <string> #include <iostream> #include<vector> using namespace std; int main() { vector<int> a(10,0); for (size_t i = 0; i < a.size(); ++i) { a[i] = i+1; } }