반응형
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int main() {
vector<vector<int>> v = { {1,2},{4,5},{5,6} };
for (int i = 0; i < 3; i++) {
for (int j = 0; j < 2; j++) {
cout << (*(v.begin() + i))[j];
}
}
}
반응형