안녕하세요 오늘은 이중 pair vector를 이용하여 정렬 문제를 풀어보겠습니다. 코드: #include #include using namespace std; bool cp(pair a , pair b){ if(a.second.first == b.second.first){ return a.second.second>N; vector v; for(int i = 0; i>x>>y; v.emplace_back(pair(y, pair(x, ind))); } sort(v.be..