//백준 11729 - 하노이 탑 이동 순서#include using namespace std;// 원판 이동 횟수 cnt 반환int hanoi_tower(int n, int from, int tmp, int to){ int cnt = 0; if(n == 1){ cnt++; } else{ cnt = hanoi_tower(n-1, from, to, tmp); cnt++; cnt = cnt + hanoi_tower(n-1, tmp, from, to); } return cnt;}// 원판 이동 과정 출력void hanoi_tower_print(int n, int from, int tmp, int to){ if(n == 1){ printf("%d %d\n", from, t..