声明3行4列的数组
const int m = 3, n = 4; vector<vector<int> > A(m); // 3 rows for(int i = 0; i < m; i++){ A[i].resize(n); // 4 cols }