Skip to content

Commit 96bb239

Browse files
committed
#31 : 1931_회의실 배정
1 parent 2235669 commit 96bb239

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

이티준희/1931_회의실 배정.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
'''
3333

3434

35-
### 런타임 에러
35+
### 런타임 에러(23-05-30) -> 시간 정렬 순서 변경함 (23-06-01)
3636

3737
import sys
3838
N = int(sys.stdin.readline)
@@ -47,8 +47,8 @@
4747
start, end = map(int, sys.stdin.readline().split())
4848
time.append([start, end])
4949

50-
time = sorted(time, key = lambda time: time[0]) # 시작 시간 sort
5150
time = sorted(time, key = lambda time: time[1]) # 종료 시간 sort
51+
time = sorted(time, key = lambda time: time[0]) # 시작 시간 sort
5252

5353
final = 0 # 마지막 회의 시간
5454

0 commit comments

Comments
 (0)