하노이타워
알고리즘66 :: BOJ_1914_하노이탑
알고리즘66 :: BOJ_1914_하노이탑
2020.02.24123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117package backjun; import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;import java.math.BigInteger;import java.util.Arr..
알고리즘26 :: BOJ_11729_하노이타워
알고리즘26 :: BOJ_11729_하노이타워
2019.02.28123456789101112131415161718192021#include using namespace std; void func(int a, int b, int n){ if(n==1){ // a에 있는 원판 1개를 b로 옮기기만 하면 됨 cout