摘要:
#include <iostream> #include <stack> #include <vector> #include <climits> using namespace std; // 迷宫大小 const int ROW = 5; const int COL = 5; // 迷宫(0:可 阅读全文
posted @ 2025-10-22 14:01
ouyeye
阅读(8)
评论(0)
推荐(0)
摘要:
#include <iostream> using namespace std; typedef char ElemType; // 链队的节点结构 typedef struct QNode { ElemType data; // 节点存储的元素 struct QNode *next; // 指向下 阅读全文
posted @ 2025-10-22 14:01
ouyeye
阅读(7)
评论(0)
推荐(0)
摘要:
#include <iostream> using namespace std; #define MAXSIZE 6 // 环形队列最大容量(实际可用容量为MAXSIZE-1,避免空满判定冲突) typedef char ElemType; // 环形队列的结构体 typedef struct { 阅读全文
posted @ 2025-10-22 14:00
ouyeye
阅读(11)
评论(0)
推荐(0)

浙公网安备 33010602011771号