Skip to content

Conversation

@jaykxo
Copy link
Member

@jaykxo jaykxo commented Oct 1, 2025

✅ Week04 문제 풀이

1072 게임

  • 이분 탐색으로 승률이 처음 증가하는 최소 추가 경기 수 탐색
  • 현재 승률 Z ≥ 99이면 더 이상 증가하지 않아 -1
  • 승률 계산: Z = (Y*100)//X, newZ = ((Y+mid)*100)//(X+mid)

1431 시리얼 번호

  • 정렬 기준: (길이, 숫자 합, 사전순)
  • 숫자 합은 isdigit()로 숫자만 골라 int 변환 후 합산

2805 나무 자르기

  • 절단기 높이에 대한 이분 탐색으로 길이 ≥ M을 만족하는 최대 높이 찾기
  • 길이 계산: sum(max(0, tree - h))

1302 베스트셀러

  • Counter로 빈도 집계
  • 정렬 기준: (등장 횟수 내림차순, 제목 오름차순) 후 최상위 제목 출력

@INSEA-99 INSEA-99 requested review from INSEA-99 and WONnyyyyy October 1, 2025 15:05
@jaykxo jaykxo self-assigned this Oct 1, 2025
@WONnyyyyy WONnyyyyy merged commit 9599151 into main Oct 2, 2025
1 check passed
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.

3 participants