Skip to main content
JudgeKit
Practice
Playground
Contests
Rankings
Submissions
Community
Sign in
Loading...
Problem
Editorial
Accepted Solutions
Problem discussion
Back
변형 하노이 탑
Try in playground
Sign in to submit
Time Limit: 2000 ms
Memory Limit: 128 MB
Gold V
5
Author: Super Admin
구현
재귀
모든 원반을 옮기는 데 필요한 총 이동 횟수를 출력한다.
입출력 예시
입력 1
2 AB BA CA BC CB AC
출력 1
5
마방진 검증
Bronze III
2