-
一辆汽车加满油后可行驶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
-
derby database source code.good for you.
derby database source code.good for you.
- 2022-01-25 18:18:49下载
- 积分:1
-
教学管理系统
教学管理系统
简单实用的校园学生档案管理系统-Teaching Management System
Campus students simple file management system
- 2022-03-06 12:07:14下载
- 积分:1
-
这是一个用回溯算法解0
这是一个用回溯算法解0--1背包问题的C++程序(好用的)-This is a backtracking algorithm used 0 1 knapsack problem of the C++ Procedure (useful)
- 2022-02-05 22:06:27下载
- 积分:1
-
这里面包含了acm程序设计的各种常用的算法
这里面包含了acm程序设计的各种常用的算法-contains acm procedures commonly used in the design of algorithms
- 2022-01-25 20:33:17下载
- 积分:1
-
单比特树查找算法,是用于路由查找的,内含有路由查找相关资料...
单比特树查找算法,是用于路由查找的,内含有路由查找相关资料-Monobit tree-search algorithm is used to identify the routing, which contain routing information Search
- 2022-02-26 14:05:38下载
- 积分:1
-
数据结构 银行程序
数据结构 银行程序-data structure banking procedures
- 2023-01-13 08:30:04下载
- 积分:1
-
从数组中 任取一个元素 p (可随机取,现在以取第一个为例).以P作为主元,对数组 进行划分 ,前一部分小于 P,后一部分 大于p.最后划分处存储p,然后分别对...
从数组中 任取一个元素 p (可随机取,现在以取第一个为例).以P作为主元,对数组 进行划分 ,前一部分小于 P,后一部分 大于p.最后划分处存储p,然后分别对划分后的前一部分和后一部分递归调用.
算法平均时间复杂度: O(nlogn)
-Any check from the array element p (can be random access, and now to take the first example). To P as the main element of the array to be divided, the first part is less than P, the latter part of the final division is greater than p. Department store p , and then were divided into the first part and the latter part of recursive calls. algorithm the average time complexity: O (nlogn)
- 2022-03-12 12:50:19下载
- 积分:1
-
网络求职招聘人才网站系统正式版(源码),MS SQL数据库,附安装视频,无功能限制完全版...
网络求职招聘人才网站系统正式版(源码),MS SQL数据库,附安装视频,无功能限制完全版-Job recruitment Web site an official version of the system (source), MS SQL database, with the installation of video, full version without functional limitation
- 2022-12-31 18:55:13下载
- 积分:1
-
数据结构中的几种基本结构的C++实现:栈、队列、链表
数据结构中的几种基本结构的C++实现:栈、队列、链表-data structure of several basic structure of the C achieved : Stack, Queue, Listless
- 2022-07-17 23:45:46下载
- 积分:1