-
设停车场是一个可停放n辆汽车的狭长通道,且只有一个大门可供汽车进出。汽车在停车场内按车辆到达时间的先后顺序,依次由北向南排列(大门在最南端,最先到达的第一辆车停...
设停车场是一个可停放n辆汽车的狭长通道,且只有一个大门可供汽车进出。汽车在停车场内按车辆到达时间的先后顺序,依次由北向南排列(大门在最南端,最先到达的第一辆车停放在车场的最北端),若车场内已停满n辆汽车,则后来的汽车只能在门外的便道上等待,一旦有车开走,则排在便道上的第一辆车即可开入;当停车场内某辆车要离开时,在它之后进入的车辆必须先退出车场为它让路,待该辆车开出大门外,其他车辆再按原次序进入车场,每辆停放在车场的车在它离开停车场时必须按它停留的时间长短交纳费用。试为停车场编制按上述要求进行管理的模拟程序。
-err
- 2023-02-20 09:30:04下载
- 积分:1
-
MATLAB的BP算法
matlab back propagation algorithm
- 2023-03-29 17:05:03下载
- 积分:1
-
内存仿真算法
模拟内存工作方式的算法-way memory simulation algorithm
- 2022-02-04 19:23:21下载
- 积分:1
-
双向列表的实现
双向列表的实现-Realize two-way list
- 2022-02-14 16:08:56下载
- 积分:1
-
CB_creatshortcut.cpp CB in creating efficient windows desktop ways
CB_creatshortcut.cpp CB在windows桌面创建快捷方式-CB_creatshortcut.cpp CB in creating efficient windows desktop ways
- 2022-12-30 20:10:03下载
- 积分:1
-
Used to realize 96 types of integer calculations, vc++ Available.
用来实现96位整数计算的类,vc++可用. -Used to realize 96 types of integer calculations, vc++ Available.
- 2022-07-01 01:27:04下载
- 积分:1
-
winamp歌词显示插件
winamp歌词显示插件-Winamp plug-in show lyrics
- 2022-11-18 06:15:03下载
- 积分:1
-
社区检测遗传算法代码
社区 detection.this 代码 GA 代码将解决大型网络 areasit 将有用的社交网络和其他网络社区发现
- 2023-04-21 14:05:05下载
- 积分:1
-
用c++的多态性编写一个简单的管理程序,处理的信息包括教师、学生、职员等三类对象。程序应具有适当的数据结构。程序的功能是管理学生,教师,职工信息,要求具有添加,...
用c++的多态性编写一个简单的管理程序,处理的信息包括教师、学生、职员等三类对象。程序应具有适当的数据结构。程序的功能是管理学生,教师,职工信息,要求具有添加,删除,查询,排序的功能,在输出时注意综合应用所学知识灵活应用虚函数。 要求: 1. 在一个容器中存储不同类型的对象,要求数据结构中不能有类型判断字段。 2. 利用继承和虚函数,使得程序容易扩展,如输出对象信息。 3. 利用代理或者句柄实现引用计数和写时复制。-polymorphism with a simple preparation of the management procedures, the processing of information, including teachers, students and other staff the three targets. Procedures should have the appropriate data structure. Procedures function is the management of students, teachers, staff information, requiring add, delete, query, sort, in which the function to output integrated application knowledge to use virtual function. Requirements : 1. In a storage containers of different types of targets, data structure types can be judged field. 2. The use of inheritance and virtual function, making procedures easier to expand, as output target information. 3. Agents use or handle achieve reference counting and write copy.
- 2022-03-10 06:53:16下载
- 积分:1
-
输入2维数组,对其行列值和对角线求和并且将其按照大小顺序排列输出。杨辉三角、质因数个数等等。...
输入2维数组,对其行列值和对角线求和并且将其按照大小顺序排列输出。杨辉三角、质因数个数等等。-Enter the 2-dimensional array, its value and the diagonal sum of the ranks and their order in accordance with the size of the output.
- 2022-03-09 17:26:41下载
- 积分:1