-
Notifications
You must be signed in to change notification settings - Fork 5
YoonYn9915/ 6월 1주차/ 3문제 #220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Mingguriguri
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
한 주간 고생 많으셨습니다!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
시간복잡도까지 구체적으로 적어놓는 점이 배울 점인 것 같네요!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
저는 이 부분을
heapq.heapify(arr) 이런 식으로 작성했습니다!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이 문제 풀 당시에는 heapify가 생각이 안났어요 ㅎㅎ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
어차피 heap에 저장되어야 하니까 저장할 떄 MOD로 나누는 게 더 좋겠네요! 저는 마지막에 출력할 때만 나누었거든요..
🔥2025-06 챌린지 진행 상황👉 그래프
👉 구현
|
🌱WIL
🚀주간 목표 문제 수: 3개
백준 #14698 전생했더니 슬라임 연구자였던 건에 대하여 (Hard): 그리디 / 골드 4
정리한 링크: (바로가기)
🚩제출한 코드
💡TIL
백준 #1388. 바닥 장식: 그래프/ 실버 4
정리한 링크: (바로가기)
🚩제출한 코드
백준 #1715. 카드 정렬하기: 그리디 / 골드 4
정리한 링크: (바로가기)
🚩제출한 코드