-
一种基本算法! 现有一个酒店有100个房间,依次编号为1到100,第一个服务员经过,将所有房间门关上;第二个服务员经过将所有编号为2的倍数房门打开;第三个服务员...
一种基本算法! 现有一个酒店有100个房间,依次编号为1到100,第一个服务员经过,将所有房间门关上;第二个服务员经过将所有编号为2的倍数房门打开;第三个服务员经过将所有编号为3倍数的房门打开的关上,关闭的打开。依此类推;输入一个100以内的正整数N,输出第N服务员经过之后,所有房间的状态。-a basic algorithm! An existing 100 hotel rooms, followed by No. 1-100, after an attendant, all rooms will be closed; Second attendants after all No. 2 in multiples door open; Third attendants after all No. 3 multiples of the open door is shut, Guan the opening closed. XII; The importation of a hundred within the positive integer N, N output after attendants, all rooms in the state.
- 2022-03-24 18:35:44下载
- 积分:1
-
各种排序算法,包括快速排序、插入排序、选择排序、SHELL排序...
各种排序算法,包括快速排序、插入排序、选择排序、SHELL排序-various sorting algorithms, including rapid sorting, insertion sort, select, in order of ranking SHELL
- 2022-01-27 17:32:23下载
- 积分:1
-
递归算法,很经典的移盘算法源代码,请用vc编译运行。
递归算法,很经典的移盘算法源代码,请用vc编译运行。-Recursive algorithm, it is the classic disk-shift algorithm source code, please use the vc compiler to run.
- 2022-02-22 12:45:50下载
- 积分:1
-
教育考试管理系统,可用于学习数据库的编写
教育考试管理系统,可用于学习数据库的编写-Test management system, the database can be used to study the preparation of
- 2022-06-02 03:45:13下载
- 积分:1
-
仓库管理系统,是一个很实用的管理系统!请大家
仓库管理系统,是一个很实用的管理系统!请大家-Warehouse Management System, is a very useful management system! Please everyone
- 2022-07-12 12:38:18下载
- 积分:1
-
货郎担问题的分支限界算法,速度很快,并且结点可以到达35个...
货郎担问题的分支限界算法,速度很快,并且结点可以到达35个-The branch and bound algorithm for traveling salesman problem, very fast, and the node can reach 35
- 2022-02-03 02:43:54下载
- 积分:1
-
这是一个用C语言编写的哈夫曼编/译码器程序,与严蔚敏版数据结构习题的5.2相对应啊...
这是一个用C语言编写的哈夫曼编/译码器程序,与严蔚敏版数据结构习题的5.2相对应啊-This is a C language prepared by the Huffman encoder/decoder procedures, and Yan Wei-min data structure Exercise version 5.2 should be relatively ah
- 2022-08-09 08:05:03下载
- 积分:1
-
数据库开发的 C 语言源代码,对于刚学习c语言的朋友来说有一定的帮助...
数据库开发的 C 语言源代码,对于刚学习c语言的朋友来说有一定的帮助-Database development of C language source code, for just learning c language friends will certainly help
- 2023-01-17 19:50:02下载
- 积分:1
-
迷宫算法!通过递归算法实现!找到最优路径,完成迷宫出口的查找!...
迷宫算法!通过递归算法实现!找到最优路径,完成迷宫出口的查找!-maze algorithm! Through recursive algorithm! To find the optimal path to complete the maze exports to search!
- 2023-08-20 07:10:03下载
- 积分:1
-
这是一个用于计算最小生成树的程序。当人们逐个输入每条边的权,再点击生成,便能得到这个图的最小生成树。
这是一个用于计算最小生成树的程序。当人们逐个输入每条边的权,再点击生成,便能得到这个图的最小生成树。-This is a used to calculate the minimum spanning tree procedure. When people enter one by one each side of the right, then click generate, will be able to get this graph minimum spanning tree.
- 2022-04-26 22:15:50下载
- 积分:1