-
joseph
用链表解决约瑟夫问题。
约瑟夫环是一个数学的应用问题:已知n个人(以编号1,2,3...n分别表示)围坐在一张圆桌周围。从编号为k的人开始报数,数到m的那个人出列;他的下一个人又从1开始报数,数到m的那个人又出列;依此规律重复下去,直到圆桌周围的人全部出列。
其中包括一个实验报告,介绍了编程思路和输出结果截图。(List to resolve Joseph. Josephus is the application of a mathematical problem: Given n individuals (numbered 1, 2, 3, ... n, respectively) sitting around a round table around. From number k people began to count off the number to m the man out of the line his next person and from a number off, the man was out of the line number to m so regularly repeated down until roundtable around of the people all of the columns. Including a lab report describes the programming ideas and output screenshots.)
- 2012-08-27 22:37:52下载
- 积分:1
-
四种算法求最短路径的例子,C#,图形演示
分别为贪心发,动态规划发,分支限界法,和回溯法...
四种算法求最短路径的例子,C#,图形演示
分别为贪心发,动态规划发,分支限界法,和回溯法-Four shortest path algorithm for example, C#, Graphical presentations were greedy fat, fat, dynamic programming, branch and bound method, and backtracking
- 2023-08-31 01:50:03下载
- 积分:1
-
求解一个最短路径问题程序,可以参考一下求一个Dijkstra优化算法!
谢谢了
目的是求给定两点之间的最短距离
或者改一下我的程序也行...
求解一个最短路径问题程序,可以参考一下求一个Dijkstra优化算法!
谢谢了
目的是求给定两点之间的最短距离
或者改一下我的程序也行
-shortest path to solve a problem of procedure, can seek a reference Dijkstra algorithm optimization! Thank you, the purpose is scheduled for 2:00 to the shortest distance between or change my procedure OK
- 2022-03-01 07:56:19下载
- 积分:1
-
Introduction to algorithms
说明: 《算法导论》原书名——Introduction to Algorithms,是2006年机械工业出版社出版出版的图书,作者是Thomas H.Cormen、Charles E.Leiserson等。(Introduction to algorithms)
- 2019-02-28 16:17:37下载
- 积分:1
-
哈夫曼编/解码器
(1) 初始化。从终端读入字符集大小n,以及n个字符和n个权值,建立哈夫曼树,并将它存于文件hfmTree.txt中。
(2) 编码。利用已建好的哈夫曼树,对文件ToBeTra.txt中的正文进行编码,然后将结果存入文件CodeFil.txt中。
(3) 译码。利用已建好的哈夫曼树将文件CodeFile.txt中的代码进行译码,结果存入文件Textfile.txt中。
-Huffman encoder/decoder
- 2022-03-21 20:30:14下载
- 积分:1
-
hash_table
hash_table的c语言的链表实现。包括一个简单的hash函数和hash_table的源码。(hash_table c language linked list implementation. Includes a simple hash function and hash_table source.)
- 2013-08-30 22:33:04下载
- 积分:1
-
ALGraph
学数据结构自己总结的东西,希望对大家有所帮助。(Learn data structure sum things up, we want to help.)
- 2013-03-08 19:50:18下载
- 积分:1
-
sf_2014320164457
数据结构中的许多东西,包括头文件、例题、习题等等(Data structure many things, including the header files, examples, exercises, etc.)
- 2014-04-03 15:24:34下载
- 积分:1
-
简单的搜索引擎
它是基本的 C 编程概念和文件处理中的应用。
使用此应用程序用户可以搜索各种文件在系统内。打开该文件。读它。计算总的行在它和许多这类功能。
- 2022-12-06 06:10:03下载
- 积分:1
-
很不错的Access数据库结构打印工具,方便您在编程时助记数据库字段,可以输出到打印机,保存为HTML文件。能很清楚的列出数据库的所有表的字段信息、索引信息等。...
很不错的Access数据库结构打印工具,方便您在编程时助记数据库字段,可以输出到打印机,保存为HTML文件。能很清楚的列出数据库的所有表的字段信息、索引信息等。
-quite the Access database structure Print tool to facilitate the programming your reporter database fields, can be output to the printer, the depositary for the HTML document. Can be clearly set out all the tables in the database in the field of information, indexing information.
- 2022-03-20 06:32:19下载
- 积分:1