-
在一个圆形操场的四周摆放着n堆石子。现要将石子有次序地合并成一堆。规定每次只能选相邻的两堆石子合并成新的一堆,并将新的一堆石子数记为该次合并的得分。试设计一个算...
在一个圆形操场的四周摆放着n堆石子。现要将石子有次序地合并成一堆。规定每次只能选相邻的两堆石子合并成新的一堆,并将新的一堆石子数记为该次合并的得分。试设计一个算法,计算出将n堆石子合并成一堆的最小得分和最大得分,并分析算法的计算复杂度。-in a circle around the playground are placed n gravel pile. Is a stone should order to be merged into a heap. Stipulated that only elected adjacent to the pile of gravel into the new heap, and a new pile of gravel credited for the combined scores. Design a test algorithm to calculate n heap into a pile of gravel to the minimum score and the biggest score and analysis of algorithm complexity.
- 2022-03-22 21:40:18下载
- 积分:1
-
a good library management system
很好的一个图书馆管理系统-a good library management system
- 2022-12-25 17:30:04下载
- 积分:1
-
队列操作(顺序、链队)
删除相同数据元素的操作将表元素由小到大排序;求队列动态长度;插入一个元素于一排序好的队列中;将表右移k位显示队列结果;打印输出队列内容;按值求结点;定位求结点等队列的所有基本操作
- 2022-03-18 14:23:42下载
- 积分:1
-
BM关键字查找算法,在用于查找子字符串的算法当中,BM(Boyer...
BM关键字查找算法,在用于查找子字符串的算法当中,BM(Boyer-Moore)算法是目前相当有效又容易理解的一种,一般情况下,比KMP算法快3-5倍。-BM keyword search algorithm used in the sub-string search algorithm which, BM (Boyer-Moore) algorithm is quite effective and easy to understand A, under normal circumstances, more than 3-5 times the KMP algorithm quickly.
- 2022-03-10 14:08:21下载
- 积分:1
-
有关路由算法的程序,具体要求见压缩文件内容
有关路由算法的程序,具体要求见压缩文件内容-Routing algorithm of the procedure, specifically asked to see the contents of compressed files
- 2022-11-11 04:40:03下载
- 积分:1
-
Visual Basic编程实例与技巧(数据库 编程),本书着重讲述了数据库编程...
Visual Basic编程实例与技巧(数据库 编程),本书着重讲述了数据库编程-Visual Basic programming examples and techniques (database programming), this book focuses on the Database Programming
- 2022-06-15 09:15:49下载
- 积分:1
-
多格式数据录入库
多格式数据录入库 -multi-format data entry library
- 2022-07-08 05:09:01下载
- 积分:1
-
本程序用于计算随机变量模拟仿真
已经用计算机语言写好
本程序用于计算随机变量模拟仿真
已经用计算机语言写好-the procedures used to calculate the random variable simulation has been used to finish the Computer Language
- 2023-01-16 04:55:03下载
- 积分:1
-
一条供需线的护航程序。他们用最短的时间..
一个关于供求陪送的线路程序。里面用到了最短路径的知识,给初学者参考-one of the lines of supply and demand escort procedures. They use the shortest path of knowledge, reference to beginners
- 2022-06-25 23:31:09下载
- 积分:1
-
postgis源码
PostGIS 是一个开源程序,它为对象-关系型数据库PostgreSQL提供了存储空间地理数据的支持,使PostgreSQL成为了一个空间数据库,能够进行空间数据管理、数量测量与几何拓扑分析。PostGIS 实现了Open Geospatial Consortium所提供的Simple Features的SQL实现参考。
- 2023-04-18 02:30:04下载
- 积分:1