方法一:
vector<vector<int>>array=(2,vector<int>());
array[0].push_back(1);
array[i].push_back(2);
方法二:
vector<vector<int> >array={{1,2},{3,,4}};