https://www.acmicpc.net/problem/1931 1931번: 회의실 배정 (1,4), (5,7), (8,11), (12,14) 를 이용할 수 있다. www.acmicpc.net if __name__ == '__main__': N = int(input()) work_times = [] for _ in range(N): S, E = map(int, input().split()) work_times.append((S, E)) work_times.sort(key=lambda x: (x[1], x[0])) ans = 1 prev_e = work_times[0][1] for i in range(1, N): work_time = work_times[i] start_time = work_time[0]..