This repository was archived by the owner on Jun 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Oncoder #35
Open
HojinJava
wants to merge
18
commits into
pro00er:hojinjava
Choose a base branch
from
HojinJava:oncoder
base: hojinjava
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Oncoder #35
Conversation
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
kimsunoh
reviewed
Aug 5, 2018
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.
오프라인 모임 때 리펙토링한 내용입니다.
} | ||
int n = 0; | ||
int xn = 0; | ||
boolean flag = false; |
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.
for (int n = 0; n < l; n++ ) {
if(this.isInRange(l, 2<<n, 2<<(n+1)){
xn = n;
break;
}
}
- 오프라인 미팅 같이 리펙토링한 내용 공유 드립니다.
return val; | ||
} | ||
|
||
public boolean getN(int key, double d, double e){ |
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.
public boolean isInRange(int key, double st, double end){
return st <= key && key <= end;
}
- 오프라인 미팅 같이 리펙토링한 내용 공유 드립니다.
- 비트연산 예시 링크 slack에 공유 드렸습니다.
for(M = 1; M * 2 <= N; M <<= 1); | ||
vector<int> P(M*2); | ||
|
||
for(int i=2;i*i<M*2;i++){ |
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.
i와 j로 만들수 있는 숫자들에는 '1'을 세팅하는 for문 입니다
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.
issue
issue #34