摘要: #include<iostream>#include<cstdlib>using namespace std;#define MAXSIZE 100#define OK 1#define ERROR 0#define OVERFLOW -1typedef int Status;typedef int 阅读全文
posted @ 2023-01-11 20:27 师大无语 阅读(230) 评论(0) 推荐(0) 编辑
摘要: //递归实现Hanoi塔问题#include<iostream>#include<cstdlib>using namespace std;#define MAXSIZE 100#define OK 1#define ERROR 0typedef int Status;typedef int Elem 阅读全文
posted @ 2023-01-11 17:14 师大无语 阅读(21) 评论(0) 推荐(0) 编辑
摘要: #include<iostream>#include<cstdlib>using namespace std;#define MAXSIZE 100#define OK 1#define ERROR 0typedef int Status;typedef int Elemtype;typedef s 阅读全文
posted @ 2023-01-11 17:02 师大无语 阅读(71) 评论(0) 推荐(0) 编辑