Skip to content

Conversation

@LiiNi-coder
Copy link
Contributor

@LiiNi-coder LiiNi-coder commented Sep 19, 2025

🧷 문제 링크

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

🧭 풀이 시간

35 분

👀 체감 난이도

✏️ 문제 설명

  • 1부터 n까지 적힌 좌석이 주루룩 있다. 그런데 vip회원은 자신의 자리에 고정적으로 앉고, 그 나머지 회원은 자신의 좌석의 양옆 및 자신의 좌석에 앉기가 가능. 이럴때, 사람이 앉는 경우의 가짓수 출ㄺ

🔍 풀이 방법

  • vip좌석을 기준으로 좌석을 나누고 그룹마다의 명수를 기준으로 경우의 수를 dp로 구한다음에 곱하기

⏳ 회고

  • 피보나치인지 알아내는 것이 꽤 오래걸린 문제

@LiiNi-coder LiiNi-coder added the success 👍 해설을 보지 않고 풀었을 때 label Sep 19, 2025
@ShinHeeEul ShinHeeEul merged commit a787c77 into main Sep 19, 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