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.
문제
풀이 후기
이 문제는 보자마자 어떤 수학적인 공식이 적용될거라 생각했다
그래서 서치를 해봤는데 (서치 가능한 코테를 준비 중이니까)
대단한 공식은 아니고 서치를 못하더라도 규칙을 찾으려면 찾을 수 있는 공식이었다
관련 자료 보기
(tmi지만 초5 수학경시대회에 나온 문제라고 한다 . .)
공식에 최대공약수를 구하는 부분이 있는데 이건 효율적인 방법(유클리드 호제법)으로 풀려면 서치가 꼭 필요했다
다른 사람의 풀이와 비교
좋아요 1등 풀이
기울기를 이용한 풀이라고 하는데 사실 나도 처음엔 이런 접근을 생각하긴 했다
그런데 부끄럽게도 수포자라 기울기 관련 개념을 다 까먹었다
다음에 공부할 일이 있을지 몰라 남겨놓는다