搜索资源列表
baoshu
- 这是一个ACM中的题请大家看以下哈 如果有问题请多多指教 n个猴子围坐一圈并按照顺时针方向从1到n编号,从第s个猴子开始进行1到m的报数,报数到第m的猴子 退出报数,从紧挨它的下一个猴子重新开始1到m的报数,如此进行下去知道所有的猴子都退出为止。 求给出这n个猴子的退出的顺序表。 Input 有做组测试数据.每一组数据有两行,第一行输入n(表示猴子的总数)第二行输入数据s(从第s 个猴子开 始报数)和数据m(第m个猴子退出报数).当输入0 0 0时表示程
71-93
- C语言精彩百例第71-93例 第三篇 常用算法篇 实例71 链表的建立 实例72 链表的基本操作 实例73 队列的应用 实例74 堆栈的应用 实例75 串的应用 实???76 树的基本操作 实例77 冒泡排序法 实例78 堆排序 实例79 归并排序 实例80 磁盘文件排序 实例81 顺序查找 实例82 二分法查找 实例83 树的动态查找 实例84 二分法求解方程 实例85 牛顿迭代法求解方程 实例86 弦截法求解方程 实例8
顺序表
- 是用来排列顺序的程序-is used to arrange the sequence of procedures
3
- 3. 约瑟夫环问题。设编号为1,2,…,n(n>0)个人按顺时针方向围坐一圈。开始时任意给出一个报数上限值m,从第一个人开始顺时针方向自1起顺序报数,报到m时停止报数,报m的人出列,从他在顺时针方向上的下一个人起重新自1起顺序报数;报到m的人出列;如此下去,直到所有人全部出列为止。用带头结点的单循环链表作数据元素的存储结构。 数据输入: 第一行为人数n。 第二行为报数值m。 数据输出: 依次输出出列人员的编号。 示例: 输入文件input3.txt: 4
线性表的应用——仓库管理
- 1) 问题描述:建立一个仓库管理程序,可以按顺序和货物名称查询仓库存储情况,也可以增加或删除货物以及建立新的仓库存储系统。-a) Descr iption of the issue : the establishment of a warehouse management procedures, in accordance with the order for goods and warehouse storage, can also add or remove the goods and th
银行财务实时处理系统
- 问题描述:银行帐户的帐号由科目表和分户号组成。此系统要求把属于一个科目的分户表文件的记录全部找出来,并按记录中的分户号从小到大的顺序排列,以便于按顺序逐户处理信息并查找某一个分户号的记录。-Problem descr iption : bank accounts Account by the charts, and household composition. This system requirements regarded as a subject of household table fi
t1
- 顺序表实现员工信息的添加删除,用c语言实现。可以建立员工的信息,查找员工信息,添加信息或删除信息(包括工号,姓名,性别,职业)。-In order to add the table to achieve employee information removed, using c language. Can set up employee information, to find employee information, add information or delete information
form
- 掌握线形表的基本操作在顺序和链表这两种存储结构上的实验,尤其链表的操作和应用作为重点。-Grasp the basic operation of linear forms in the order and list storage structure of these two experiments, in particular the operation and application of linked lists as a priority.
11
- 利用顺序表完成一个班级的一个学期的所有课程的管理-Use the order form to complete a one semester class in the management of all courses
SeqListcode
- 顺序表的源程序,顺序表的基本操作实现实验 ,实验要求是:数据元素类型ElemType取整型int。按照顺序存储结构实现如下算法(各算法边界条件和返回结果适当给出): 1)创建任意整数线性表(即线性表的元素值随机在键盘上输入),长度限定在25之内; 2)打印(遍历)该线性表(依次打印出表中元素值); 3)在线性表中查找第i个元素,并返回其值; 4)在线性表中第i个元素之前插入一已知元素; 5)在线性表中删除第i个元素; 6)求线性表中所有元素值(整数)之和;
insertlistsort
- 在一个有序的顺序表中插入元素,并保持仍有序!-insertlistfunction
mergesort
- 这个程序的功能是将两个有序的顺序表进行合并。-mergesort
1
- 多项式相加,对多元多项式的相加,数据结构,单链表,顺序表-Polynomials, the sum of multivariate polynomial data structures, singly linked lists, the order table
data-structure
- 编写一个完整的程序,实现顺序表的建立、插入、删除、输出等基本运算。 -Write a complete program to achieve the establishment of the sequence table, insert, delete, output, and other basic operations.
the-Definition-of-Order-List
- 设有两个整数类型的顺序表A(有m个元素)和B(有n个元素),其元素均从小到大排列。试编写一个函数,将这两个顺序表合并成一个顺序表C,要求C的元素也从小到大排列。-Sequence table has two integer type A (m elements) and B (n elements), whose elements are in ascending order. Try to write a function that the two order tables into a se
a
- 有序顺序表的插入(C数据结构)-Insert an orderly sequence table(Data Structures)
Desktop
- 栈,队列的各种操作极其应用,顺序表排序-Stacks, queues extremely apply various operations, table sorting order. . . .
1
- /*设顺序表中的关键字是递增有序的,讲监视哨设在高下标端,设计算法实现简单顺序查找*/(A key sequence in the table / * is incremental and orderly, about surveillance posts in the standard end, design algorithm is simple sequential search.)
数据结构课设小题线性表的链式存储
- 链表是一种物理存储单元上非连续、非顺序的存储结构,数据元素的逻辑顺序是通过链表中的指针链接次序实现的。链表由一系列结点(链表中每一个元素称为结点)组成,结点可以在运行时动态生成。每个结点包括两个部分:一个是存储数据元素的数据域,另一个是存储下一个结点地址的指针域。(Linked list is a discontinuous and non sequential storage structure on physical storage unit. The logical order of da
Shunxubiao
- 利用C语言的顺序表数据结构实现学生信息的录入和添加(Using the sequence table data structure of C language to realize the input and addition of student information)