-
FLOYD
用 Floyd 算法求任意两点间的最短路径及最短路长. D0 是图的邻接矩阵(Floyd algorithm used for any shortest path between two points and the most long-short-circuit. D0 is the graph adjacency matrix)
- 2009-04-09 23:43:57下载
- 积分:1
-
LUZHOUYUE
今天,小 G 已了解到修理厂共有 m 种不同的修理原料,对于第 i 种原料,可以对任意一个石桥的美化度增加 di,当然这也需要花费 hi 的费用。由于发货场的修理原料有限,对于任意一种修理原料,只有一件,也就是说小 G 只能选择购买和不购买,对于第 i 种修理材料能成功修理第 j 个石桥的条件是:当且仅当 hi ≥ pj,di ≥ vj。现在,已知这 n 个石桥修理的最小花费值,最小美化需求度,以及 m 种修理原料的费用,可对石桥增加的美化度值,请你帮助小 G 完成这个修理任务。(Today, Xiao G has learned that there are m different repair materials in the repair shop. For the first material, Di can be added to the beautification of any stone bridge. Of course, it also costs hi. Because of the limited repair materials in the delivery yard, there is only one repair material for any kind of repair material, that is to say, small G can only choose to buy or not to buy. For the first repair material, the condition for successful repair of the jth stone bridge is: if and only if hi is greater than pj, Di is greater than vj. Now, the minimum cost of repairing n stone bridges, the minimum demand for beautification, and the cost of m kinds of repairing materials are known, which can increase the beautification value of stone bridges. Please help Xiao G to complete this repairing task.)
- 2020-12-05 13:29:23下载
- 积分:1
-
这是数据结构中模拟栈的一个精典例子利用火车进站出站模拟出栈和入栈...
这是数据结构中模拟栈的一个精典例子利用火车进站出站模拟出栈和入栈-This is the data structure of a simulated stack classic examples of using the train station stop simulated stack and pushed
- 2022-07-24 05:01:28下载
- 积分:1
-
数据结构停车场实习报告
数据结构停车场实习报告-data structure parking internship report
- 2022-10-20 12:45:08下载
- 积分:1
-
Noob544446322245
666
- 2022-01-26 04:06:48下载
- 积分:1
-
Algorithm for four
四色算法代码,已经在OMNETPP平台上编译成功!-Algorithm for four-color code has been compiled successfully OMNETPP platform!
- 2023-06-11 13:20:03下载
- 积分:1
-
ALGraph
学数据结构自己总结的东西,希望对大家有所帮助。(Learn data structure sum things up, we want to help.)
- 2013-03-08 19:50:18下载
- 积分:1
-
完全采用指针编写的字符串排序程序,共两种方法,调试过
完全采用指针编写的字符串排序程序,共两种方法,调试过-completely prepared by the string pointer ranking, with a total of two methods tuned
- 2022-07-19 22:09:45下载
- 积分:1
-
5-source--code-of-DS--PRO
数据结构课上老师布置的5个小项目的源代码,分别是汽车过河,一元多项式,迷宫,日历,BFS_DFS(failed to translate)
- 2011-05-18 17:01:17下载
- 积分:1
-
binary-tree
数据结构 二叉树的操作,可以对二叉树进行最基本的操作,先建立二叉树。(The operation of the binary tree, binary tree with the most basic operation, first create a binary tree.)
- 2012-03-20 21:19:43下载
- 积分:1