搜索资源列表
约瑟夫问题的实现
- 【问题描述】 设有n个人围坐在圆桌周围,现从某个位置m(1≤m≤n)上的人开始报数,报数到k的人就站出来。下一个人,即原来的第k+1个位置上的人,又从1开始报数,再报数到k的人站出来。依此重复下去,直到全部的人都站出来为止。试设计一个程序求出出列序列。 这是一个使用循环链表的经典问题。因为要不断地出列,采用链表的存储形式能更好地模拟出列的情况。-[n -- with the individuals sitting around the round table is from a certain
链表的C语言实现之单链表的实现
- 所谓链表,就是用一组任意的存储单元存储线性表元素的一种数据结构-so-called List, a group is using an arbitrary memory cell storage element linear form of a data structure
链表的C语言实现之删除结点
- 要删除p结点时只要令p结点的前驱结点的链域由存储p结点的地址该为存储p的后继结点的地址-to delete nodes when p as long as the precursor nodes nodes from the chain domain p storage node addresses the storage of the p subsequent node addresses
文件运算器
- 问题描述:加减乘运算器。 要 求: 输入方式:使用给定文件进行输入; 输出方式:使用文件进行输出; 使用的数据结构:双向链表 实现的功能:实现任意位数的正负整数或小数的加法、减法和乘法运算。 具体要求:每个结点存储一位数字。算出的结果若是小数,整数部分的高位若为0要去掉,小数部分的低位若为0要去掉,若0085.56700,最后结果应为85.567。 文件说明:给定的文件a*.txt为第一个数,b*.txt为第二个数,要求加法产生的结果存储在add*.txt中,减法产生
dxsxj
- 有次序的两个多项式相加,用链表实现。 -a polynomial order of the two together, with Chain achieve.
DataTypeDemo7.2
- 这是我在公司空闲时写的一个数据结构库,用OO实现,两层继承关系,从双向链表实现到图.希望大家多提建议~!-This is my spare time in the company write a data structure for use OO achieved, the two-tier succession, from two-way to achieve Chain map. We hope more suggestions ~!
MyConsolePro
- C#用链表实现大数相加,原理简单,可用于参考-C# List with the realization of large numbers add up, the principle is simple, can be used for reference
test
- 一元多项式的链表实现 拥有term项类 链表节点类 链表类 以及多项式类 重载输入函数-One of the list of the polynomial has a term of realization of node-type chain-type chain-type, as well as polynomial-type input function overloading
star
- 使用双向链表实现的通讯录。我的课程设计。-The realization of the use of two-way contacts list. My curriculum design.
Data-Chapter6-Exercise
- 管理系统,用链表实现,其中包括节点的一些操作内容-Management system, using linked list implementation, including operation of the contents of some nodes
Students_database
- 学生数据库 用C语言编写的经过调试的数据库,是通过链表实现的。是进一步掌握C编程的良好方法。可以记录学号,性别,年龄,分数-Students use the C language written in the database after the database debugging is achieved through the linked list. Further understand the C programming is a good way. Can record stud
Josephus-realizationagt
- <约瑟夫环的实现>采用线性链表实现 可以进行线性表元素的动态插入和删除-< Josephus realization> linear list can be linear table elements dynamically insert and delete
1stWork
- 利用链表实现目录的顺序输出,提供新建、删除文件(夹)操作-Using linking list to print directory, and to provide new, delete files (folders) operations
Joseph-problem
- 约瑟夫问题利用循环链表实现约瑟夫问题的求解。 约瑟夫问题如下:已知n个人(n>=1)围坐一圆桌周围,从1开始顺序编号。从序号为1的人开始报数,顺时针数到m的那个人出列;他的下一个人又从1开始报数,数到m的那个人又出列;依此规则重复下去,直到所有人全部出列。请问最后一个出列的人的编号。 -Joseph problem.
yusehu
- 约瑟夫算发,循环算法 用链表实现约瑟夫算法-Joseph calculation hair cycle algorithm
1
- 冒泡排序的双向链表实现,通过交换结点指针实现数据的交换,而不是单纯的交换结点中的数值-Bubble sort doubly linked list implementation
cell
- 数据结构 C语言 关于细胞问题的线性链表实现 模拟细胞演变情况 例如细胞周围有四个其他细胞 则此细胞死亡-C language data structures on the cell problem linear list evolution of analog cells such as cell surrounded by four other cells, this cell death
library-management-system
- 一个用C语言链表实现的图书馆管理系统,其中,实现了登陆,添加,查询,修改,删除等基本功能。-A linked list implementation using C language library management system, which realized the landing, add, query, modify, delete and other basic functions.
game32
- 走迷宫游戏设计,采用c++编程,链表实现追踪功能!-Maze Game Design, using c++ programming, linked list implementation tracking!
jisuanqi
- 用链表实现一个简易的计算器,c语言编程,vc6.0运行-List realize a simple calculator, c language programming, vc6.0 run