资源列表
data sort 按从大到小的顺序排列
- 由输入对话框输入100个数值,数据放入数组a,其中的整数放入数组b,然后运用选择分类法将数组b中的数据按从大到小的顺序排列,并以每行五个数据在窗体上输出。-100 from the input dialog box to enter values into the data array a, where the integer into the array b, then select the classification using the data in the array b by
Joseph-Circle 用顺序表实现约瑟夫环
- 用顺序表实现约瑟夫环,对逐个删除的情况进行了特殊考虑,大家可以参考-With the sequence table to achieve Josephus, one by one remove the situation of special consideration, we can refer to
huffman 哈夫曼树的构造
- 哈夫曼树的构造,假设有n个权值,则构造出的哈夫曼树有n个叶子结点。 n个权值分别设为 w1、w2、…、wn,则哈夫曼树的构造规则为: (1) 将w1、w2、…,wn看成是有n 棵树的森林(每棵树仅有一个结点); (2) 在森林中选出两个根结点的权值最小的树合并,作为一棵新树的左、右子树,且新树的根结点权值为其左、右子树根结点权值之和; (3)从森林中删除选取的两棵树,并将新树加入森林; (4)重复(2)、(3)步,直到森林中只剩一棵树为止,该树即为所求得的哈夫曼树。-Huff
eight_queen.经典的八皇后问题用VC++实现
- 经典的八皇后问题,用VC++实现,遍历各种出现的结果,MFC界面,8 Queen' s classic problem, with VC++ to achieve, the result of various traversal
链表排序
- 链表排序方法
迷宫 数据结构(C语言版)关于栈与队列
- 迷宫 数据结构(C语言版)关于栈与队列,求迷宫从入口到出口的所有路径,Maze data structure (C language version) on the stack and queue, and the maze from the entrance to the export of all path
定点运算器.rar
- 实现二进制定点运算: 1.定点整数补码加法 2.定点整数补码减法 3.定点小数Booth补码一位乘法 4.定点小数原码一位除法(加减交替法) 5.定点小数补码一位除法(加减交替法) 6.定点小数原码一位乘法 7.定点小数原码两位乘法 8.定点整数原码乘法 9.定点整数原码除法,achieve binary fixed point operations : 1. Sentinel integral complement Adder 2. Sentinel integral
CirHDoublyLinkedList 用C++编写的头结点的循环双链表操作
- 用C++编写的头结点的循环双链表操作,含头文件和源文件。-Written in C++ node of the first cycle of double-linked list operations, including the header files and source files.
huofuman 利用哈夫曼编码进行信息通讯
- 利用哈夫曼编码进行信息通讯可以大大提高信道的利用率,缩短信息传输时间,降低传输成本。-Huffman coding using information and communication can greatly improve the channel utilization, reduce transmission time information and reduce transmission costs
从数据文件records.txt中读取学生信息
- 从数据文件records.txt中读取学生信息,建立与源数据同序的学生链表并打印在屏幕上; 统计学生链表中身高达标人数(男女生的身高达标值由键盘输入),并打印结果; 对上述学生链表按学号进行排序,然后将一位学生的相关信息插入到已按学号排序的学生链表中后仍然保持学号的有序性,将结果链表打印在屏幕上; 对上述操作后的学生链表进行倒置,结果输出到数据文件result.txt中; 删除链表中身高为指定值的所有学生结点并打印; 将当前的学生链表拆分为男生链表和女生链表(没有
paixu 实验六 排序
- 一、最优服务问题; 二、众数问题; 三、士兵站队问题(选作)。-First, the optimal service issues Second, the number of public issues three soldiers stand in question (selected for).
华为软件工程师上机考试题目
- 华为软件工程师上机考试题目,要求对已知单链表求其逆序,并输出。-Huawei software engineers, computer exam questions, asked to watch for the known anti-shear reverse, and output.