Skip to content

Conversation

@03do-new30
Copy link
Contributor

🧷 문제 링크

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

🧭 풀이 시간

20분

👀 체감 난이도

✏️ 문제 설명

  • 같은 양의 두 용액을 혼합한 용액의 특성값은 혼합에 사용된 각 용액의 특성값의 합이다.
  • 각 용액의 특성값이 정렬된 순서로 주어졌을 때, 가장 0에 가깝게 만들 수 있는 두 용액의 특성값을 출력한다.

🔍 풀이 방법

  • 투포인터
  • 현재 혼합값의 절댓값이 최소값보다 작으면 정답 갱신
  • 혼합값이 음수라면 더 큰 값을 섞어야 0에 가까워지므로 좌측 포인터 이동

⏳ 회고

  • 오랜만에 풀어서 모든 것이 어색하다. 재활 열심히...

@03do-new30 03do-new30 added the success 👍 해설을 보지 않고 풀었을 때 label Jul 10, 2025
@ShinHeeEul ShinHeeEul merged commit 13ca866 into main Jul 10, 2025
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.

3 participants