Merged
Conversation
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/17142
🧭 풀이 시간
120분
👀 체감 난이도
✏️ 문제 설명
바이러스 N개중 M개만 활성화하여 전체 구역을 모두 감염시키는데 걸리는 최소 시간 출력.
벽과 빈칸 바이러스가 주어진다.
🔍 풀이 방법
combination과 BFS
⏳ 회고
문제를 완전히 잘못 이해하고 있었다. 활성화된 바이러스가 비활성화된 바이러스를 만났을 때 연쇄적인 반응으로 감염이 된다고 이해하였으나 비활성화가 활성화로 바뀔 뿐 감염에 걸리는 시간은 동일하게 +1 되는 것이었음. 이것때문에 오래걸렸다. 문제 설명이 좀..