[23-02-02] dain.py #45
Merged
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.
PR Summary
조작 횟수 최솟값
=최소 알파벳 변경 횟수
+최소 커서 이동 횟수
최소 알파벳 변경 횟수
:ord()
아스키코드를 숫자로 변환. 앞으로 / 뒤로 변경했을 때 값 구해서 비교.최소 커서 이동 횟수
: 모든 경우를 계산.point
: "어디까지 갔다가 돌아갈 것인가." 를 기준으로 계산.ISSUE NUMBER