Skip to content

Commit

Permalink
2024-03-05
Browse files Browse the repository at this point in the history
  • Loading branch information
H0ngJu committed Mar 5, 2024
1 parent 3c92be6 commit c1f3ff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion H0ngJu/큐/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

def solution(priorities, location):
answer = 0
queue = deque([(i, k) for i, k in enumerate(priorities)]) # νŠœν”Œ 큐 생성
queue = deque([(i, k) for k, i in enumerate(priorities)]) # νŠœν”Œ 큐 생성
priorities.sort(reverse=True) # λ‚΄λ¦Όμ°¨μˆœ μ •λ ¬

while queue:
Expand Down

0 comments on commit c1f3ff7

Please sign in to comment.