摘要: 运行结果: 阅读全文
posted @ 2017-01-18 12:49 天秤libra 阅读(3063) 评论(0) 推荐(0) 编辑
摘要: /* 三色汉诺塔 */ #include void hanoi(int disks, char source, char temp, char target) { if(disks == 1) { printf("move disk from %c to %c \n", source ,target); printf("move disk ... 阅读全文
posted @ 2017-01-18 12:44 天秤libra 阅读(1066) 评论(0) 推荐(0) 编辑
摘要: 运行结果: 阅读全文
posted @ 2017-01-18 12:42 天秤libra 阅读(1203) 评论(0) 推荐(0) 编辑
摘要: 运行结果: 阅读全文
posted @ 2017-01-18 12:21 天秤libra 阅读(3251) 评论(0) 推荐(0) 编辑
摘要: 运行结果: 阅读全文
posted @ 2017-01-18 12:15 天秤libra 阅读(2273) 评论(0) 推荐(0) 编辑
摘要: 运行结果:(因为运行的出的答案很长所以就指截取前面一部分和后面一部分了) 阅读全文
posted @ 2017-01-18 12:12 天秤libra 阅读(3885) 评论(0) 推荐(0) 编辑
摘要: 运行结果: 阅读全文
posted @ 2017-01-18 12:11 天秤libra 阅读(2979) 评论(0) 推荐(1) 编辑
摘要: 运行结果: 阅读全文
posted @ 2017-01-18 11:59 天秤libra 阅读(5353) 评论(0) 推荐(0) 编辑
摘要: 运行结果: 阅读全文
posted @ 2017-01-18 11:56 天秤libra 阅读(5116) 评论(0) 推荐(0) 编辑