vector<vector<int>> v(10, vector<int>(10));
// CPP program to create an empty vector
// and push values one by one.
#include <iostream>
#include <vector>
using namespace std;
int main()
{
int n = 3;
// Create a vector of size n with
// all values as 10.
vector<int> vect(n, 10);
for (int x : vect)
cout << x << " ";
return 0;
}
void resize (size_type n, value_type val = value_type());
vector<vector<vector<double>>> f(3, vector<vector<double>>(4, vector<double>(5)));
void resize (size_type n);
void resize (size_type n, const value_type& val);
std::vector<std::string> vec(20000);
// create a vector with 20 integer elements
std::vector<int> arr(20);
for(int x = 0; x < 20; ++x)
arr[x] = x;