Open
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.
유형:브루트 포스
등급:실버
url: https://www.acmicpc.net/problem/2508
오랜만에 실버를 풀었다. 내일도 아마 실버 풀듯
문제 리뷰: 2508. 사탕 박사 고창영
구현 전략 (내 생각)
>와v로 시작하는 패턴(>o<,vo^)을 찾아서 가로/세로로 세어주는 방식을 선택함.String[]보다는 다루기 편한char[][]배열로 변환해서 각 칸을 인덱스로 직접 접근하기로 함.트러블슈팅
r-2,c-2)에 합쳤더니 구석에 있는 사탕들을 놓치는 걸 발견하고, 가로용 세로용 루프를 각각 분리해서 범위를 정확하게 맞춤.T변수가 중복으로 선언되어 발생하는 에러를 직접 확인하고 수정함.강점 및 약점
Limit) 설정을 너무 타이트하게 잡아서 모든 사탕을 한 번에 세지 못했던 부분.AI 도움 포인트
Parse.java)의 틀을 잡는 것과,char[][]로의 시그니처 변경 등 기본적인 환경 설정 부분에서 도움을 받음.추천 문제