Merged
Conversation
Mingguriguri
approved these changes
Jun 8, 2025
Comment on lines
+11
to
+14
Collaborator
There was a problem hiding this comment.
시간복잡도까지 구체적으로 적어놓는 점이 배울 점인 것 같네요!
Comment on lines
+42
to
+44
Collaborator
There was a problem hiding this comment.
저는 이 부분을
heapq.heapify(arr) 이런 식으로 작성했습니다!
Member
Author
There was a problem hiding this comment.
이 문제 풀 당시에는 heapify가 생각이 안났어요 ㅎㅎ
Collaborator
There was a problem hiding this comment.
어차피 heap에 저장되어야 하니까 저장할 떄 MOD로 나누는 게 더 좋겠네요! 저는 마지막에 출력할 때만 나누었거든요..
🔥2025-06 챌린지 진행 상황👉 그래프
👉 구현
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🌱WIL
🚀주간 목표 문제 수: 3개
백준 #14698 전생했더니 슬라임 연구자였던 건에 대하여 (Hard): 그리디 / 골드 4
정리한 링크: (바로가기)
🚩제출한 코드
💡TIL
백준 #1388. 바닥 장식: 그래프/ 실버 4
정리한 링크: (바로가기)
🚩제출한 코드
백준 #1715. 카드 정렬하기: 그리디 / 골드 4
정리한 링크: (바로가기)
🚩제출한 코드