can you send the broiler plate code of the contruction
vector<<vector>
I cant figure out how to take vector<vector<int>> numbers as input
hello @kishoretaru
read each vector and push it to ur declared vector.
for example.
vector< vector > v;
for(int i=0;i<n;i++){
vector<int> temp;
for(int j=0;j<m;j++) {
int x;
cin>>x;
temp.push_back(x);
}
v.push_back(temp);
}
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.