Skip to content

ABC451 / harib0#30

Open
RainDrop3 wants to merge 3 commits intoPNU-PULSE:mainfrom
RainDrop3:main
Open

ABC451 / harib0#30
RainDrop3 wants to merge 3 commits intoPNU-PULSE:mainfrom
RainDrop3:main

Conversation

@RainDrop3
Copy link
Copy Markdown
Contributor

B: A, B를 multiset으로 만들고 각 employee마다 B개수-A개수
C: multiset에 tree들 저장하다가 제거는 upper_bound()로 범위 설정해서 전체제거. nlogn이라 통과 가능.
D: good int들을 담은 전체 배열을 미리 만들어두고 입력받은 정수번째 값 출력하는 방식 생각함. 근데 전체 배열을 어떻게 만들지에서 막힘.

끝나고 D를 찾아보니 BFS/DFS더군요..
그래프 문제가 이런 형식으로도 나올 수 있구나 알게 되었습니다

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant