www.acmicpc.net/problem/11000 11000번: 강의실 배정 첫 번째 줄에 N이 주어진다. (1 ≤ N ≤ 200,000) 이후 N개의 줄에 Si, Ti가 주어진다. (1 ≤ Si < Ti ≤ 109) www.acmicpc.net 내 소스 코드 #include #include #include #include using namespace std; class cmp { public: bool operator()(pair pq1, pair pq2) { if (pq1.first == pq2.first) { return pq1.second > pq2.second; } else { return pq1.first > pq2.first; } } }; int main(void) { ios::syn.....
원문 링크 : 백준 11000 _ 강의실 배정