摘要: 直接写不同移动情况下的递归: #include <bits/stdc++.h> using namespace std; int n; //a-b-1;b-a-2;a-c-3;c-a-4;b-c-5;c-b-6; void hano(int x,int y) { if(x==1) { if(y==1 阅读全文
posted @ 2023-04-07 22:28 cccjjh 阅读(23) 评论(0) 推荐(0)