- 博客(8)
- 收藏
- 关注
原创 弗洛伊德算法
#define _CRT_SECURE_NO_WARNINGS #include<iostream> using namespace std; #define max 32667 int Path[100][100]; int Distance[100][100]; struct AMGraph { char m_vexname[100]; int m_vexNum; int m_arcNum; int m_arcweight[100][100]; }; in
2021-12-10 19:54:37
406
原创 地杰斯特拉算法
#include <bits/stdc++.h> using namespace std; #define max 32767 //地杰斯特拉算法 // define Distance int *Distance = new int[100]; // define path int *path = new int[100]; // define set of selected vex bool *s = new bool[100]; struct AMGraph { int m_ve
2021-12-10 19:54:04
307
原创 构建哈夫曼树并创建哈弗曼编码
#define _CRT_SECURE_NO_WARNINGS #include<iostream> #include<fstream> #include<string> #include<cstring> using namespace std; #define max 100 //define the nodes of hufuman tree struct HTNode { int m_parent; int m_lchild;
2021-12-02 12:50:59
800
原创 栈链表实现班级人员管理
#define _CRT_SECURE_NO_WARNINGS #include<iostream> #include<fstream> #include<string> using namespace std; struct StudentMessage { string ClassName; string sex; string StudentName; string StudentID; }; struct LinkStackNo
2021-11-11 17:37:56
495
原创 栈队列实现班级人员管理
#define _CRT_SECURE_NO_WARNINGS #include<iostream> #include<string> #include<fstream> #define max 200 using namespace std; struct StudentMessage { string ClassName; string sex; string StudentName; string StudentID; }; st
2021-11-11 17:35:50
404
原创 队列顺序表实现班级人员管理
#define _CRT_SECURE_NO_WSRNINGS #include<iostream> #include<string> #include<fstream> using namespace std; #define max 200 struct StudentMessage { string ClassName; string sex; string StudentName; string StudentID; }; st
2021-11-11 16:41:46
290
原创 队列链表实现班级管理
#define _CRT_SECURE_NO_WSRNINGS #include<iostream> #include<string> #include<fstream> using namespace std; #define max 100 struct StudentMessage { string ClassName; string sex; string StudentName; string StudentID; }; st
2021-11-11 16:23:04
256
原创 判断一定范围内的素数
这里写自定义目录标题欢迎使用Markdown编辑器新的改变功能快捷键合理的创建标题,有助于目录的生成如何改变文本的样式插入链接与图片如何插入一段漂亮的代码片生成一个适合你的列表创建一个表格设定内容居中、居左、居右SmartyPants创建一个自定义列表如何创建一个注脚注释也是必不可少的KaTeX数学公式新的甘特图功能,丰富你的文章UML 图表FLowchart流程图导出与导入导出导入 欢迎使用Markdown编辑器 你好! 这是你第一次使用 Markdown编辑器 所展示的欢迎页。如果你想学习如何使用Mar
2021-06-06 15:56:04
468
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅