Skip to content

Conversation

@lkhyun
Copy link
Contributor

@lkhyun lkhyun commented Aug 5, 2025

🧷 문제 링크

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

🧭 풀이 시간

30분

👀 체감 난이도

✏️ 문제 설명

배열에서 두 수를 골랐을 때, M이상이 되는 최솟값을 출력.

🔍 풀이 방법

투 포인터
인덱스 0부터 시작해서 M보다 커지면 left++, 아니면 right++

⏳ 회고

투 포인터라고 하면 자꾸 좌우에서 와야한다는 고정관념이 있어가지고, 자꾸 헷갈린다.
나는 바보야

@lkhyun lkhyun self-assigned this Aug 5, 2025
@lkhyun lkhyun added success 👍 해설을 보지 않고 풀었을 때 hint 💡 반례를 참고했거나 힌트를 얻고 풀었을 때 labels Aug 5, 2025
@ShinHeeEul ShinHeeEul merged commit 7a4c6d7 into main Aug 5, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hint 💡 반례를 참고했거나 힌트를 얻고 풀었을 때 success 👍 해설을 보지 않고 풀었을 때

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants