-
实验中我们使用了四种方法进行串匹配,通过对相同的文本和相同的模式串进行四种不同算法的串匹配操作,比较四种算法的优劣。...
实验中我们使用了四种方法进行串匹配,通过对相同的文本和相同的模式串进行四种不同算法的串匹配操作,比较四种算法的优劣。-Experiment we used four methods for string matching, through the same text and the same pattern for four different algorithms string matching operation to compare the merits of the four algorithms.
- 2022-09-09 08:20:03下载
- 积分:1
-
jmessage板系统
JMessage Board System-JMessage Board System...
- 2023-09-09 01:55:03下载
- 积分:1
-
大学本科课程设计
操作系统_页式管理(c语言)
大学本科课程设计
操作系统_页式管理(c语言)-undergraduate curriculum design operating system _ page management (c language)
- 2022-03-19 20:23:16下载
- 积分:1
-
算法设计于分析中的多段图问题,用VC编写应用动态规划的算法设计方法,利用最优性原理以及所获得的递推关系式求取最优决策序列,通过多段图的定义,找到由源点s到汇点t...
算法设计于分析中的多段图问题,用VC编写应用动态规划的算法设计方法,利用最优性原理以及所获得的递推关系式求取最优决策序列,通过多段图的定义,找到由源点s到汇点t的最小成本路径,进而可以灵活解决可以用多段图描述的许多实际问题.-algorithm design in the analysis of many of the map, prepared with VC dynamic programming algorithm design, the optimum principle as well as the recursive relation to strike the optimal sequence of decision-making through more of the map defined by the source to find s t point to the Department of the minimum cost paths and further a flexible solution could spend more of the map describes the many practical problems.
- 2022-02-04 19:58:15下载
- 积分:1
-
[问题描述]
将N个关键字去整数的记录进行整序, 以使所有关键字为非负数的记录排在关键字为负数的记录之前,要求使用最少的附加空间,且算法的时间复杂度为O(N...
[问题描述]
将N个关键字去整数的记录进行整序, 以使所有关键字为非负数的记录排在关键字为负数的记录之前,要求使用最少的附加空间,且算法的时间复杂度为O(N)
[输入]
待排序记录个数,各关键字的值。
[输出]
关键字从正负分开,正数在前
[存储结构]
待排序记录顺序存储。
[算法的基本思想]
快速排序算法每次任取一个记录的关键字为标准,将其余记录分为两组将,N个关键字去整数的记录进行整序, 以使所有关键字为非负数的记录排在关键字为负数的记录之前。
#include
using namespace std
#define MAXNUM 100//设文件的最长可能长度
void sort(int* keys, const int len)//排序
-[Problem Description] N keyword to the integer sequence the entire record. keyword so that all non-negative Records with the keyword for the negative record, at least require the use of the additional space and time complexity of the algorithm is O (N) [imported] to be sort record number, The value of the keyword. [Output] keyword separate from the pluses and minuses are several former [storage structure] scheduling records to be stored sequence. [Algorithm for the basic idea] quick sort algorithm each time a record for any keyword as a standard, The remaining records will be divided into two groups, N-keyword
- 2022-03-17 21:15:57下载
- 积分:1
-
without passwords, directly extract, is a teacher decorated tree ranking two for...
无需密码,直接解压,是老师布置的二叉排序树的C语言代码,适合学生使用.-without passwords, directly extract, is a teacher decorated tree ranking two forks of C language code, for use by students.
- 2023-05-28 22:40:03下载
- 积分:1
-
快餐管理系统
这个快餐管理系统,实现了实际数据库管理功能,能给相关开发的朋友提供很好的借鉴...
快餐管理系统
这个快餐管理系统,实现了实际数据库管理功能,能给相关开发的朋友提供很好的借鉴
-The fast-food fast-food management system management system, the realization of the actual database management functions related to development can provide a very good friend from
- 2022-07-15 19:05:20下载
- 积分:1
-
实现ADT,可以实现两个二叉树的几种逻辑关系来显示它们之间的联系.如:求两个二叉树是否是等价的.它们的交集并集是怎样的.等等.这样这些都是ADT要实现的方法....
实现ADT,可以实现两个二叉树的几种逻辑关系来显示它们之间的联系.如:求两个二叉树是否是等价的.它们的交集并集是怎样的.等等.这样这些都是ADT要实现的方法.-achieve ADT, can achieve two binary tree several logical relationship to show the linkages between them. Such as : whether the binary tree for two are synonymous. The intersection of what is the set. And so on. ADT then these are the methods to achieve.
- 2022-01-26 01:22:21下载
- 积分:1
-
高斯列主元消元法,
这只是我个人的一种解法,仅供参考。...
高斯列主元消元法,
这只是我个人的一种解法,仅供参考。-out PCA Gaussian Elimination Act, this is my personal one solution for reference.
- 2022-06-22 03:30:05下载
- 积分:1
-
以链表的形式实现货物的管理,包括链表的创建,插入,删除,查询,更新等....
以链表的形式实现货物的管理,包括链表的创建,插入,删除,查询,更新等.-to List in the form of cargo management, including Chain create, insert, delete, query, update, etc..
- 2022-09-07 05:55:02下载
- 积分:1