-
一种基本算法! 现有一个酒店有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
-
ODBC数据源注册小工具,简化数据库连接
ODBC数据源注册小工具,简化数据库连接-ODBC data source registered a small tool to simplify database connection
- 2022-09-17 12:20:03下载
- 积分:1
-
用内嵌法求多项式
用内嵌法求多项式-with embedded Polynomial Method
- 2022-11-12 06:55:03下载
- 积分:1
-
Floyd 算法,创建有向图,无向图,有向网,无向网的算法
Floyd 算法,创建有向图,无向图,有向网,无向网的算法-Floyd algorithm, create a directed graph, undirected graph, directed networks, undirected networks algorithm
- 2022-02-26 22:16:43下载
- 积分:1
-
Huffman tree I do a simple hope that we can give sound
huffman树 我自己做的 比较简单 希望大家给予完善
-Huffman tree I do a simple hope that we can give sound
- 2022-04-15 23:37:57下载
- 积分:1
-
学生成绩管理系统
用C++编写控制台程序,实现学生成绩管理系统,对学生信息的增删改查等操作。使用链表等数据结构,基于控制台实现。
- 2022-03-23 10:24:32下载
- 积分:1
-
程序比较了排序算法的优点(包括快速比较法,…
本程序比较各种排序算法的优劣(包括快速比较,基数比较等等),希望大家指教.-the procedures compare the merits Sorting Algorithm (including rapid comparison, the comparison base, etc.), we hope the exhibitions.
- 2022-02-06 22:53:34下载
- 积分:1
-
数据结构中关于二叉树的基本操作
包括其各种函数
数据结构中关于二叉树的基本操作
包括其各种函数-Binary tree data structure on the basic operation of a variety of functions, including its
- 2022-01-31 12:00:03下载
- 积分:1
-
有陡峭的数据结构、Flash的PPT,帮助你快速了解铝…
有很陡数据结构的flash,PPT,帮你快速理解算法,一步步执行理解方便-There are steep data structure, flash PPT, to help you quickly understand the algorithm, a step by step to facilitate the implementation of the understanding
- 2022-08-10 22:31:41下载
- 积分:1
-
本程序实现各种排序算法并分析与比较 直接插入排序, SHELL排序,冒泡排序,快速排序,简单选择排序,堆排序,归并排序...
本程序实现各种排序算法并分析与比较 直接插入排序, SHELL排序,冒泡排序,快速排序,简单选择排序,堆排序,归并排序-procedures for the realization of the algorithm and analysis more directly inserted, in order of ranking SHELL, Bubble Sort, rapid sequencing, simple choice, in order of ranking sculpture, merging Sorting
- 2022-04-22 02:46:45下载
- 积分:1