#include <iostream>
#include<vector>
using namespace std;
int main() {
int row = 10, column = 20, initial = 0;
cin>>row>>column>>initial;
vector<vector<int> > v(row, vector<int>(column,initial));
for (int i = 0;i<row;i++) {
cout<<endl;
for (int j = 0; j< column; j++) {
cout<<v[i][j]<<" ";
}
}
// your code goes here
return 0;
}
No comments:
Post a Comment