11650번

· 백준
코드 #include using namespace std; int n,x,y; vector v; bool cmp(pair a,pair b) { if(a.first == b.first) return a.second > n; for(int i = 0; i > x >> y; v.push_back({x,y}); } sort(v.begin(),v.end(), cmp); for(auto it : v) cout