Open
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
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.
A:
strlen으로 문자열 길이 값을 얻은 후len % 5 == 0? "Yes" : "No"의 결과값을 출력했습니다.B: 배열 두 개를 만들어서, 입력을 받을 때마다$A_i$ 는 $B_i$ 는
employeesThisTerm,employeesNextTerm의 인덱스로 설정해 각 배열의 해당 인덱스의 값을 갱신한 후,1부터M까지employeesNextTerm[i] - employeesThisTerm[i]값을 출력했습니다.C (cpp):$h$ 보다 커질 때까지 가장 앞의 원소의 값(
std::map이 자동 정렬되는 특성을 사용했습니다.쿼리
1의 경우treeList[h]을 1만큼 갱신하고 나무의 개수를 1만큼 증가시켰습니다.쿼리
2의 경우 맵이 비거나 맵의 시작 키 (.begin()->first)가.begin()->second)만큼 나무의 개수를 감소하고 해당 원소를 제거했습니다.