This repository was archived by the owner on Mar 18, 2024. It is now read-only.
[2023-08-16] wooyeol #112#127
Merged
Merged
Conversation
Closed
Woo-Yeol
commented
Aug 16, 2023
Member
Author
|
@ksumini @zsmalla @limstonestone 새로 풀이를 진행하였으며 이전 코드도 wooyeol2.py 파일에 작성해놓았습니다. 시간 있으실 때 편하게 리뷰 해주시면 감사하겠습니다! ㅎㅎ |
zsmalla
approved these changes
Aug 17, 2023
Contributor
zsmalla
left a comment
There was a problem hiding this comment.
빙산의 위치를 덱에 관리해서 보다 효율적으로 코드를 구성하셨습니다. 이 점이 좋았던 것 같습니다. 우열님께서 포기하지 않고 깔끔하게 코드를 작성할 수 있어서 너무 보기 좋은 것 같습니다. 고생하셨습니다.
ksumini
approved these changes
Aug 18, 2023
Contributor
There was a problem hiding this comment.
iceberg_queue라는 작업 큐를 두신 게 굉장히 좋은 것 같아요! 저는 set 자료형으로 매번 copy를 했었는데 copy해서 메모리가 계속 쌓이는 것보다 이 방식이 더 좋아보입니다 👍👍 고생하셨어요 우열님~!!!
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
PR Summary
빙산
https://www.acmicpc.net/problem/2573
풀이시간
10:33 ~ 14:12 (풀이 실패) + 4시간 (풀이 성공)
접근법
무슨 알고리즘으로 풀이 할 수 있을까? BFS
시간 초과와 메모리 초과로 실패했습니다. -> 리뷰를 보며 다시 풀이를 진행하여 풀이해낼 수 있었습니다.