-
一辆汽车加满油后可行驶n公里。旅途中有若干个加油站。设计一个有效算法,指出应在哪些加油站停靠加油,使沿途加油次数最少。对于给定的n和k个加油站位置,编程计算最少...
一辆汽车加满油后可行驶n公里。旅途中有若干个加油站。设计一个有效算法,指出应在哪些加油站停靠加油,使沿途加油次数最少。对于给定的n和k个加油站位置,编程计算最少加油次数。并证明算法能产生一个最优解-Fill up the car after driving an n km. There are a number of gas stations journey. Design an efficient algorithm that at which stations should stop to refuel along the way so that the least number of refueling. For a given n and k-station location, the calculation program for at least the number of refueling. And to prove that the algorithm can produce an optimal solution
- 2023-08-07 06:10:03下载
- 积分:1
-
数据结构算法之 约瑟夫算法
数据结构算法之 约瑟夫算法-data structure algorithms Joseph Algorithm
- 2023-04-22 19:25:03下载
- 积分:1
-
采用递归调用的方法打印输出一个非循环图的所有拓扑排序
采用递归调用的方法打印输出一个非循环图的所有拓扑排序-output all the topological sorts of an acyclic graph
- 2022-08-20 16:51:33下载
- 积分:1
-
非常好的仓库管理
良好的描述(英文):(提示:至少100
- 2022-06-13 00:29:38下载
- 积分:1
-
这是一个分治解决的零件切割问题:给定一块宽度为W的矩形板,矩形板的高度不受限制。现需要从板上分别切割出n个高度为hi,宽度为wi的矩形零件。切割的规则是零件的高...
这是一个分治解决的零件切割问题:给定一块宽度为W的矩形板,矩形板的高度不受限制。现需要从板上分别切割出n个高度为hi,宽度为wi的矩形零件。切割的规则是零件的高度方向与矩形板的高度方向保持一致。问如何切割使得所使用的矩形板的高度h最小?加上一个小界面-This is a solution to the partition cutting parts : a given width of the rectangular plate W, the height of rectangular plate unrestricted. Board is required from the respective cut out n height of the hi, wi width of the rectangular parts. Cutting parts to the rules of the height of the rectangular plate with a high degree of consistent direction. Asked how cutting makes use of the rectangular plate height h minimum? A small interface
- 2022-06-11 21:05:53下载
- 积分:1
-
list容器源代码
应用背景
它实现的是一个可存储各种类型数据的链表,可用于数据的交换、存储、分析前的存储和排序。
关键技术使用C++ 类的特性编写的一个类似标准STL的容器“链表”,可以实现对任何类型的数据操作,使用了迭代器、类模板等,来简化链表的使用,有泛型编程的一些东西。
- 2022-02-04 14:18:06下载
- 积分:1
-
Area code conversion software, you can check area code of Chinese characters mai...
区位码转换软件,可以查询汉字的区位码,主要用于学生考试系统-Area code conversion software, you can check area code of Chinese characters mainly used for student examination system
- 2022-02-19 23:44:33下载
- 积分:1
-
集束搜索,经典算法,不用过多介绍了吧/。
集束搜索,经典算法,不用过多介绍了吧/。-cluster search, classical algorithm, not too many on the Bar /.
- 2022-02-15 01:13:57下载
- 积分:1
-
基于C++语言的一个数据结构问题,实现学生管理系统的编写,代码无注释...
基于C++语言的一个数据结构问题,实现学生管理系统的编写,代码无注释-C++ language based on a data structure problem, the achievement of students in the preparation of management system, code-free notes
- 2022-01-21 21:32:49下载
- 积分:1
-
算法设计与分析 蚁群算法的设计和分析,具体的代码和细致的讲解...
算法设计与分析 蚁群算法的设计和分析,具体的代码和细致的讲解-Algorithm design and analysis of ant colony algorithm design and analysis, the specific code and detailed explanation
- 2022-03-23 06:59:58下载
- 积分:1