资源列表
[C#编程] EST2
说明: 有一推销员,欲到n(n<=10)个城市推销产品。为了节省旅行费用,在出发前他查清了任意两个城市间的旅行费用,想找到一条旅行路线,仅经过每个城市一次,且使旅行费用最少。-There are a salesman, I want to n (n < = 10) cities to promote their products. To save travel costs, identify him before departure arbitrary travel expenses bet<叶小轩> 在 2025-06-17 上传 | 大小:1kb | 下载:0
[C#编程] zuoye3
说明: 码头扩建问题 某市有一码头,每次仅容一辆船停泊装卸货,由于经常有船等候进港,部分人提出要扩建码头。码头平均每月停船24艘,每艘船的停泊时间为24±20小时,相邻两艘船的到达时间间隔为30±15小时,如果一艘船因有船在港而等候1小时,其消耗成本为1000元。经预算,扩建码头大约需要1350万元,故市长决策如下:如果未来五年内停泊船只因等候的成本消耗总和超过扩建码头花费则扩建码头,否则,不予扩建。-Problem in a city with a terminal expansion dock,<叶小轩> 在 2025-06-17 上传 | 大小:1kb | 下载:0
[C#编程] zuoye5
说明:二分检索(分治法)给定递增整数序列L,其大小为n,要求使用二分查找法查找任意元素的位置k(序列中第几个)。-Binary search (divide and conquer) given increasing sequence of integers L, and its size is n, and requires the use of binary search method to find the location of any element k (sequence of sever<叶小轩> 在 2025-06-17 上传 | 大小:1kb | 下载:0
[C#编程] zuoye7
说明: 第k小元素(分治法) 给定一个线性序列集,要求求出其中指定的第K小的数的值和位置.如给定n个元素和一个整数i,1≤i≤n,输出这n个元素中第i小元素的值及其位置;-First k small element (divide and conquer) Given a set of linear sequence, where the specified requirements determined the K value and the small number of locations, s<叶小轩> 在 2025-06-17 上传 | 大小:1kb | 下载:0