Skip to content

[20260218] BOJ / G5 / 두 수의 합 / 이인희#1945

Merged
ShinHeeEul merged 1 commit intomainfrom
LiiNi-coder
Feb 18, 2026
Merged

[20260218] BOJ / G5 / 두 수의 합 / 이인희#1945
ShinHeeEul merged 1 commit intomainfrom
LiiNi-coder

Conversation

@LiiNi-coder
Copy link
Contributor

🧷 문제 링크

https://www.acmicpc.net/problem/9024

🧭 풀이 시간

50 분

👀 체감 난이도

✏️ 문제 설명

  • 최대 50000개를 길이로 하는 정수 배열이 주어지고, 정수 K가 주어질때, 배열 중에서 서로다른 두개의 조합 중에서 합이 K와 가장 가까운 것의 조합 개수 출력

🔍 풀이 방법

  • 정렬 + 투포인터

⏳ 회고

  • 투포인터는 양끝에서도 시작할수있음을 기억하자

@LiiNi-coder LiiNi-coder added the success 👍 해설을 보지 않고 풀었을 때 label Feb 18, 2026
@ShinHeeEul ShinHeeEul merged commit 1640b18 into main Feb 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

success 👍 해설을 보지 않고 풀었을 때

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants