Skip to content

Conversation

@suyeun84
Copy link
Contributor

🧷 문제 링크

https://school.programmers.co.kr/learn/courses/30/lessons/150368

🧭 풀이 시간

40분

👀 체감 난이도

✏️ 문제 설명

사용자가 이모티콘을 구매하려고 할 때,

  • 각 사용자들은 자신의 기준에 따라 일정 비율 이상 할인하는 이모티콘을 모두 구매
  • 각 사용자들은 자신의 기준에 따라 이모티콘 구매 비용의 합이 일정 가격 이상이 된다면, 이모티콘 구매를 모두 취소하고 이모티콘 플러스 서비스에 가입
    이때, 최대가 되는 플러스 가입인 수와 매출액 구하기

🔍 풀이 방법

10-40의 할인율에 대해서 각 사용자가 플러스를 가입하는지, 이모티콘을 구매하는지를 구함
이후, 플러스 가입하는 사용자가 최대가 되는 경우로 갱신

⏳ 회고

단순 구현이당

@suyeun84 suyeun84 self-assigned this Sep 25, 2025
@suyeun84 suyeun84 added the success 👍 해설을 보지 않고 풀었을 때 label Sep 25, 2025
@suyeun84 suyeun84 merged commit 90f605c into main Sep 25, 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.

2 participants