资源列表
[数据结构常用算法] youxiangtu
说明:假设以邻接矩阵作为图的存储结构,编写判断在给定的有向图中是否存在一个简单有向回路,若存在,则以顶点序列的方式输出该回路(找到一条即可)-Suppose the adjacency matrix as a graph storage structure, the preparation of judgments in a given directed graph if there is a simple directed circuit, if there is, places a sequenc<huangxi> 在 2025-06-14 上传 | 大小:1kb | 下载:0
[数据结构常用算法] 2011022602
说明:菱形图案 运用C语言将菱形图案输出 素数的求法-Diamond pattern diamond pattern using C language output primes Method to<东方寒永> 在 2025-06-14 上传 | 大小:1kb | 下载:0
[数据结构常用算法] joseph
说明:约瑟夫问题如下:已知n个人(n>=1)围坐一圆桌周围,从1开始顺序编号。从序号为1的人开始报数,顺时针数到m的那个人出列;他的下一个人又从1开始报数,数到m的那个人又出列;依此规则重复下去,直到所有人全部出列。请问最后一个出列的人的编号。 -Joseph questions are as follows: Given n individuals (n> = 1) sitting around a round table, numbered sequentially startin<sdalong> 在 2025-06-14 上传 | 大小:1kb | 下载:0
[数据结构常用算法] eightqueen
说明:八皇后问题19世纪著名的数学家高斯于1850年提出的。他的问题是:在8*8的棋盘上放置8个皇后,使其不能互相攻击,即任意两个皇后都不能处于同一行、同一列、同一斜线上。请设计算法打印所有可能的摆放方法。-Eight queens problem the famous 19th century mathematician Gauss in the 1850' s. His question is: 8* 8 board to place eight queens, so that it can<sdalong> 在 2025-06-14 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Maze-problem
说明:解决数据结构中的迷宫问题 可在TUEBOC中直接运行-Data structure to solve the maze problem can be run directly in TUEBOC<陈蓝> 在 2025-06-14 上传 | 大小:1kb | 下载:0
[数据结构常用算法] hw8.15
说明:实现以下功能: 1.输入10人的姓名职工号 2.按号从小到大排序。 3.输入一个号,用折半查找法查找并输出。-Achieve the following functions: 1 Enter the name of employee number 10 (2) according to numbers from small to large order. 3 Enter a number, with the binary search method to find and outpu<覃晓莹> 在 2025-06-14 上传 | 大小:1kb | 下载:0