会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
daZ311
博客园
首页
新随笔
联系
订阅
管理
2020年11月10日
校园导航系统
摘要: 1 #include<bits/stdc++.h> 2 using namespace std; 3 4 #define MAX 10 // 从校园中取10个点 5 #define INTMAX 66666 6 //Floyd算法数据 7 int L[MAX+1][MAX+1]; // 存最短路径长
阅读全文
posted @ 2020-11-10 20:41 daZ311
阅读(372)
评论(0)
推荐(1)
2020年11月3日
查找
摘要: 1 #include<stdio.h> 2 #include<stdlib.h> 3 4 5 typedef struct SqList 6 { 7 int *elem;//声明了一个名为elem的长度不确定的数组,也叫“动态数组” 8 int length;//记录当前顺序表的长度 9 int l
阅读全文
posted @ 2020-11-03 19:37 daZ311
阅读(85)
评论(0)
推荐(0)
二叉排序树
摘要: 1 #include<stdio.h> 2 #include<stdlib.h> 3 4 #define TRUE 1 5 #define FALSE 0 6 #define ElemType int 7 #define KeyType int 8 9 10 /* 二叉排序树的节点结构定义 */ 1
阅读全文
posted @ 2020-11-03 19:35 daZ311
阅读(125)
评论(0)
推荐(0)
2020年10月18日
哈夫曼编码
摘要: 1 #include <stdio.h> 2 3 4 #define MAXBIT 100 5 #define MAXVALUE 10000 6 #define MAXLEAF 30//叶节点数目 7 #define MAXNODE MAXLEAF*2-1 //节点数目 8 9 10 /*编码结构体
阅读全文
posted @ 2020-10-18 10:20 daZ311
阅读(59)
评论(0)
推荐(0)
公告