vector<pair<int,int>> vec;

for(auto [x, y]:vec)

{

x = ...

y = ...

}

auto [x, y] 이렇게 받아서

first second << 이거 쓰다가 헷갈릴일 없으니깐

ㄹㅇ 개편함..