We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 470bfea commit f4fc8bdCopy full SHA for f4fc8bd
programmers.co.kr 코딩테스트 연습 힙(Heap) 디스크 컨트롤러/main.py
@@ -12,7 +12,6 @@ def solution(jobs: List):
12
is_idle: bool = True
13
14
while len(jobs) > 0 and jobs[0][0] <= current_time:
15
- is_idle = False
16
[start_time, duration] = jobs.pop(0)
17
heapq.heappush(heap, [duration, start_time])
18
0 commit comments