https://www.acmicpc.net/problem/1931 1931번: 회의실배정 (1,4), (5,7), (8,11), (12,14) 를 이용할 수 있다. www.acmicpc.net 끝나는 시간을 기준으로 sort한다. #include #include #include using namespace std; struct Pos { int start, end; }; bool compare(Pos a, Pos b) { if (a.end != b.end) { return a.end > n; vector arr(n); f..