initialising a vector of size n with zeroes code example
Example 1: initialize 3d vector c++
vector<vector<vector<double>>> f(3, vector<vector<double>>(4, vector<double>(5)));
Example 2: how to initialize vector in c++ with all elements 0
vector<int> arr(10,0);