-
一种基本算法! 现有一个酒店有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
-
ACCESS VBA编写系统托盘源程序源码,效果很不错
ACCESS VBA编写系统托盘源程序源码,效果很不错-ACCESS VBA source code to prepare the system tray, the effect is pretty good
- 2022-07-12 06:17:20下载
- 积分:1
-
大学的每个专业都要编制教学计划。假设任何专业都有固定的学习年限,每学年含两学期,每学期的时间长度和学分上限都相等。每个专业开设的课程都是确定的,而且课程的开设时...
大学的每个专业都要编制教学计划。假设任何专业都有固定的学习年限,每学年含两学期,每学期的时间长度和学分上限都相等。每个专业开设的课程都是确定的,而且课程的开设时间的安排必须满足先修关系。每个课程的先修关系都是确定的,可以有任意多门,也可以没有。每一门课程恰好一个学期。试在这样的情况下设置一个教学计划编制程序。三、基本要求:(1):输入参数:学期总数,一学期的学分上限,每门课的课程号,学分,直接先修关系的课程号。(2):课程号尽可能的集中在前几个学期中。(3):若无解,则报告错误信息;否则见教学计划输入到指定的文件中。计划的表格格式自行设计-University of each professional should prepare teaching plans. The assumption that any professional have fixed the length of each school year with two semesters each semester and the length of time equal to the credit limit are. Every professional courses are opened to determine, and the creation of curriculum time arrangements must meet pre relations. Each course is the pre-established relationship, can have any more doors, there will be no. Each course just one semester. Tests in the circumstances set up a teaching program procedures. Three basic requirements : (1) : input parameters : total semester, a semester"s credit ceiling for each class courses, credits, direct relationship prevocational courses,. (2) : N
- 2022-03-03 12:58:55下载
- 积分:1
-
train reservation in visual basic
train reservation in visual basic
- 2023-08-18 03:30:07下载
- 积分:1
-
关于数据结构的多种排序算法
关于数据结构的多种排序算法-data on the structure of a variety of sorting algorithm
- 2023-03-25 22:55:03下载
- 积分:1
-
数据结构示例。适用于对数据结构有一定基础的人研究练习
数据结构示例。适用于对数据结构有一定基础的人研究练习-Examples of data structure. Data structure suitable for a certain practice-based studies
- 2022-01-25 17:15:49下载
- 积分:1
-
The database of the agricultural enterprise
农业企业数据库是为教育目的而设计的。
- 2023-08-11 06:15:03下载
- 积分:1
-
可以用4*4矩阵键盘调整的数字钟,通过动态扫描显示在四位数码管上。...
可以用4*4矩阵键盘调整的数字钟,通过动态扫描显示在四位数码管上。-Can use 4* 4 matrix keyboard adjust the digital clock, through the dynamic scan is displayed in the four digital tube.
- 2022-08-20 11:48:30下载
- 积分:1
-
,"智能大厦自动报警系统",是从赛奎春所主编的"C++信息系统开发实例精选"CD中拷贝出来的,对mscomm 控件进制转换串口通信等内容进行了详细介绍。...
,"智能大厦自动报警系统",是从赛奎春所主编的"C++信息系统开发实例精选"CD中拷贝出来的,对mscomm 控件进制转换串口通信等内容进行了详细介绍。
- 2022-04-29 08:33:18下载
- 积分:1
-
VC++语言实现与数据库连接的源代码,效果不错的
VC++语言实现与数据库连接的源代码,效果不错的-VC++ Language database connection with the source code, the effect of good
- 2022-10-02 21:05:03下载
- 积分:1