Merged
Conversation
Contributor
|
@suyeun84 마감시간이 빠른 순서대로만 정렬해도 되지 않나요? |
Contributor
Author
처음에 answer의 초깃값을 정해주려고 했어요 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🧷 문제 링크
https://www.acmicpc.net/problem/1263
🧭 풀이 시간
20분
👀 체감 난이도
✏️ 문제 설명
최대한 늦게 일을 시작하되,
N개의 일들을 정해진 시간 내에 모두 처리해야함
🔍 풀이 방법
1.마감시간이 빠른 순서 2.걸리는 시간이 큰 순서대로 sort하고,
최초로 과제를 모두 끝마치는데에 실패한 순간에 정답을 return한다.
⏳ 회고
풀이방법이 바로 보여서 쉽게 풀었다.