Skip to content

Conversation

@suyeun84
Copy link
Contributor

@suyeun84 suyeun84 commented Jun 14, 2025

🧷 문제 링크

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

🧭 풀이 시간

25분

👀 체감 난이도

✏️ 문제 설명

각 대학에서 학자에게 d일 안에 와서 강연을 해주면 p만큼의 강의료를 지불한다.
하루에 최대 한 곳에서만 강연을 할 수 있을 때, 최대로 벌 수 있는 돈 구하기

🔍 풀이 방법

강의료 기준으로 내림차순으로 정렬하고,
최대 가능 날짜의 역순으로 내려오면서 강의가 가능한 날짜 찾아서 저장

⏳ 회고

할만했다

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