Conversation
bsa0322
approved these changes
Sep 12, 2021
bsa0322
left a comment
There was a problem hiding this comment.
p2. 너무 너무 잘해주셨어요!!!! 제가 거의 드릴 말씀이 없었습니다... 19636 음수 나눗셈 처리하는 부분만 수정 후 저 다시 불러주세요~! 수고하셨습니다~!!
9월 12일 - 맵, 셋/10757.cpp
Outdated
There was a problem hiding this comment.
string을 가공하지 않고 너무 잘 풀어주셨어요!!!! 👍 가독성 면에서 조금 코멘트를 드리자면, res 벡터를 push_back 으로 일의 자리 수부터 저장한 후, 끝에서부터 출력하는 형태로 하면 출력을 하나로 합칠 수 있어요!!
9월 12일 - 맵, 셋/14425.cpp
Outdated
There was a problem hiding this comment.
n, m 은 다시 쓰지 않으니 while(n--) 으로 입력 받아도 좋을 것 같아요~!
9월 12일 - 맵, 셋/1764.cpp
Outdated
There was a problem hiding this comment.
cnt 변수 사용도 좋지만, ans 만으로도 크기를 알 수 있는 방법이 있죠!
9월 12일 - 맵, 셋/4385.cpp
Outdated
9월 12일 - 맵, 셋/19636.cpp
Outdated
Comment on lines
6
to
12
There was a problem hiding this comment.
p2. 음수를 2로 나눈 몫을 잘 처리해주셨어요! 하지만 반복문의 사용 없이 한 번의 연산 만으로 처리할 수 있는 방법이 있어요. -5/2를 하면 -3이 나와야 하는데, c++에선 -2가 나오죠! 어떻게 하면 좋을까요? 아니면 floor 함수에 대해 알아봐도 좋을 것 같아요.
9월 12일 - 맵, 셋/9375.cpp
Outdated
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.
No description provided.