资源列表
[数据结构常用算法] 02051211
说明:用C语言实现的一个链表的插入程序,每输入一个数,将其插入链表的最后的位置,用户可选择插入数据或结束插入,结束插入后程序将链表打印出来。-Using C language to achieve a list of plug-ins, each enter a number, to be inserted in the location of the final list, the user may choose to insert the data or the end of insertion,<宋莹> 在 2025-06-16 上传 | 大小:1kb | 下载:0
[数据结构常用算法] 02051321
说明:用C语言实现的猴子选大王的程序,用链表存储猴子的号码,按照一点的规则筛选猴子,每淘汰一个猴子则删除其号码,直至只剩一个猴子,即为大王。-Using C language to achieve the election of the monkey king of the procedure, with list of numbers stored monkeys, in accordance with the rules that filter monkeys, each out of a mon<宋莹> 在 2025-06-16 上传 | 大小:1kb | 下载:0
[数据结构常用算法] soldier
说明:在一个划分成网格的操场上,n 个士兵散乱地站在网格点上。网格点由整数坐标(x,y) 表示。士兵们可以沿网格边上、下、左、右移动一步,但在同一时刻任一网格点上只能有一名士兵。按照军官的命令,士兵们要整齐地列成一个水平队列,即排列成(x,y),(x+1,y),…,(x+n-1,y) 。如何选择x 和y 的值才能使士兵们以最少的总移动步数排成一列。-In a grid divided into the playground, n soldiers stood scattered on the grid<程光> 在 2025-06-16 上传 | 大小:1kb | 下载:0