오답 from collections import deque def solution(plans): answer = [] plans.sort(key=lambda x:x[1]) stack = [] dq = deque(plans) n,t,p = dq[0] while dq: if len(dq) > 1: n1,s1,p1 = dq[0] n2,s2,p2 = dq[1] t1 = int(s1[:2])*60 + int(s1[3:]) t1_end = t1+int(p1) t2 = int(s2[:2]) * 60 + int(s2[3:]) if t1_end > t2: stack.append(n1) else: answer.append(n1) dq.popleft() else: n,s,p= dq[0] answer.append(n) bre..