Conversation
Collaborator
arinming
commented
Oct 5, 2024
chattymin
approved these changes
Oct 6, 2024
Comment on lines
4
to
10
Collaborator
Author
There was a problem hiding this comment.
사실 제 코드 처음에 너무 복잡하길래 블로그에서 이거저것........눈팅했읍니다
Comment on lines
17
to
23
Member
There was a problem hiding this comment.
저도 이번에 구현하면서 깨달은건데 짝수는 2로 나눠지니 2로 나눠보고, 그 후부터는 3으로 시작해서 2씩 늘리면 시간이 완전 단축되더라구요!
물론 에라토스테네스의 체 같은 알고리즘을 쓰면 좋지만 그걸 전 외우진 못해서... ㅎㅎ...
Collaborator
Author
There was a problem hiding this comment.
오오오오옹..........!!!!!!!!!!!!!! 그런 부분까지,,. 진짜 코테는 너머 어려워요 ㅠㅠ
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.