搜索资源列表
C程序自动测试程序系统
- C程序自动测试程序系统,主要是测试数据结构中的几个经典算法:关于排序,树的遍历等.-C automatic test procedures, test data is the main structure of classical algorithm : Sort of, such as tree traversal.
c
- c++冒泡排序#include \"stdio.h\" void sort() { int i,count=0,a[20] int k=20 printf(\"please input 20 defferent numbers?\\n\") for(i=0 i<20 i++) scanf(\" %d\\a\",&a[i]) while(count<20) { for(i=0 i<k i++)
c语言分析
- 一个关于编译原理的编程,是一个c语言来实现的,可以运行。主要是分析输出。-a compiler on the Principle of programming, is a C language to achieve, and can run. Analysis is the main output.
tree
- 这是一个二叉树的算法,主要用C++开发,只写了二叉树的核心代码,该代码已经调试通过可以直接运行.该算法也没有输入功能,为了方便大家看清二叉树的结构,把输入的数据都在源码中用一个数组存放好的-This is a binary tree algorithms, the main C++ Development, only to write a binary tree of the core code, the code has been run directly through debugging.
C++
- 标准答案习题1 1.1 简述C++语言程序的结构特点。 答: (1)C++程序由一个或多个函数组成,其中至少有一个主函数main(),程序从主函数开始执行,由主函数来调用其他函数。-Standard answer to Exercise 11.1 on C++ Language program structural characteristics. Answer: (1) C++ Procedures by one or more functions, of which at lea
c
- 题目:停车场管理问题 【问题描述】: 设有一个可以停放n辆汽车的狭长停车场,它只有一个大门可以供车辆进出。车辆按到达停车场时间的早晚依次从停车场最里面向大门口处停放(最先到达的第一辆车放在停车场的最里面)。如果停车场已放满n辆车,则后来的车辆只能在停车场大门外的便道上等待,一旦停车场内有车开走,则排在便道上的第一辆车就进入停车场。停车场内如有某辆车要开走,在它之后进入停车场的车都必须先退出停车场为它让路,待其开出停车场后,这些车辆再依原来的次序进场。每辆车在离开停车场时,都应根据它在停
main
- 使用c或c++实现树的三种遍历,利用数据结构是树-Using c or c++ implementation of the three kinds of tree traversal, using the data structure is a tree
main
- 倍增法构建后缀数组 求最大重复子串的C程序-Constructing the suffix array multiplication seeking to repeat the largest sub-string C-program
main
- 电梯的楼层显示,运用c++语言 这是主程序 将会进行显示楼层的数目-Elevator floor display, using c++ language which is the main program will be to display the number of floors
bitreeJIE
- 二叉树的基本操作和应用,C语言数据结构中的编程实例-the main operation of bitree
shamir
- This program makes some operations on the polynomials, such as addition, multiplication and calculating Lagrange polynomials. It also finds a key for encryption of a text and then does encryption process by using xor (exclusive-OR) of each character
main
- 自己编写的数据文件的哈夫曼编码算法压缩程序,纯C语言编写,应该可以直接使用。-Write my own data file compression program Huffman coding algorithm, written in pure C, should be used directly.
c
- 1、 题目的要求是通过磁盘调度算法的模拟设计,了解磁盘调度的特点,其主要任务是模拟实现FCFS、SSTF、SCAN、C-SCAN算法,并计算及比较磁头移动道数。-1, the subject request is simulated through the disk scheduling algorithm designed to understand the characteristics of disk scheduling, to achieve its main task is to s
Kruskal
- 采用Kruskal算法求最小生成树主要数据结构 edgeset GE 存放图中的所有边 int n,int e 存放图中的顶点数与边数 edgeset C 存放生成树中的边 vexlist gv 图中结点的顶点值 adjmatrix s 用来处理图中结点的查找与合并 int m1,m2 一条边上两顶点所属集合的序号 int k 最小生成树中的边数 int d //图中待扫描边元素的下标-For the Minimum Spanning Tree by Krusk
main
- avl tree source code in C
linklist
- c语言 单链表的实现 包含三个文件linklist.c linklist.h main.c-c language to achieve a single linked list
stack
- c语言 栈的实现 包含三个文件stack.h stack.c main.c-c language stack implementation consists of three files stack.h stack.c main.c
main
- 基于C++的链表程序,可实现添加 删除等功能。-The list based on C++ program, add or delete functions can be realized.
main
- 用C语言编写的小程序,一元多项式的加法,希望大家喜欢-Written in C small program, a element polynomial addition
C
- 学生的记录由学号和成绩组成,N名学生的数据已在主函数中放入结构体数组s中,请编写函数fun(),它的功能是按分数的高低排列学生的记录,低分在前。-Record number of students learning and achievement by the composition, N-student data has been placed in the main function of the structure array s, write a function fun (), its
