Skip to content
Discussion options

You must be logged in to vote
  • 여왕개미의 집을 차라리 추가하고 시작해
  • resize로 해야 메모리 확보 + 초기화까지 함
  • st, en은 간격의 최소 길이랑 최대 길이
  • en은 그래서 10000이 아니고 1e9
  • 그래서 간격을 늘려야 한다면 st = mid + 1
  • pre는 집의 범위가 1e9까지니까 이 최대값의 음수로 둬야 제대로 동작

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Jinsun-Lee
Comment options

Jinsun-Lee Sep 16, 2025
Maintainer Author

Answer selected by Jinsun-Lee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant