Skip to content

Conversation

@lkhyun
Copy link
Contributor

@lkhyun lkhyun commented Aug 29, 2025

🧷 문제 링크

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

🧭 풀이 시간

30분

👀 체감 난이도

✏️ 문제 설명

가격 차이가 D만큼 나지 않도록 하는 선물 만족도의 합을 구하는 문제

🔍 풀이 방법

투 포인터, 슬라이딩 윈도우
포인터 두개 두고 같은 방향으로 밀면서 합을 관리.

⏳ 회고

진짜 쉬운 문젠데 괜히 큰 숫자를 보고 이분 탐색에 꽂혀가지고 이상하게 생각했다.

@lkhyun lkhyun self-assigned this Aug 29, 2025
@lkhyun lkhyun added the success 👍 해설을 보지 않고 풀었을 때 label Aug 29, 2025
@ShinHeeEul ShinHeeEul merged commit fe10bfd into main Aug 29, 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