-
在一个圆圈周围的操场上的操场放置氮堆。石头是有…
在一个圆形操场的四周摆放着n堆石子。现要将石子有次序地合并成一堆。规定每次只能选相邻的2堆石子合并成新的一堆,并将新的一堆石子数记为该次合并的得分。试设计一个算法,计算出将n堆石子合并成一堆的最小得分和最大得分。
编程任务:对于给定n堆石子,编程计算合并成一堆的最小得分和最大得分。-Playground in a circle around the stones are placed n heap. Stone is to have the order to merge into a pile. Provisions can only choose 2 adjacent stones piled into a heap of new and new pile of stones a few in mind for its combined score. Try to design an algorithm to calculate the n heap into a pile of stones the minimum scores and maximum scores. Programming tasks: for a given n stack stone, into a pile of programming the calculation of the minimum scores and maximum scores.
- 2022-03-18 23:23:02下载
- 积分:1
-
1个LZW算法
一个LZW算法的实现,自带界面,可以压缩图片,文本文件等,还可以查看压缩率,压缩时间等
- 2022-07-18 05:21:01下载
- 积分:1
-
Esto es una libreria de crc16 que encontre por internet. La pongo aqui para que...
Esto es una libreria de crc16 que encontre por internet. La pongo aqui para que si quereis la utiliceis. Hasta ahora a mi me ha funcionado bastante bien
- 2022-07-01 19:14:29下载
- 积分:1
-
按照既定的步长,输入后筛选已有数据 程序2
按照既定的步长,输入后筛选已有数据 程序2-accordance with the established step, the imported data screening procedures have been 2
- 2022-01-23 10:26:26下载
- 积分:1
-
矩阵的各种算法
矩阵的各种算法-matrix algorithms
- 2022-01-22 10:41:30下载
- 积分:1
-
汽车加油问题的算法
汽车加油问题的算法-vehicle refueling the algorithm
- 2023-09-03 11:25:03下载
- 积分:1
-
matlab的数学物理方程数值算法源程序。这是"Numerical Methods for Physics"第二版的matlab源程序。...
matlab的数学物理方程数值算法源程序。这是"Numerical Methods for Physics"第二版的matlab源程序。-Matlab mathematical physics equations numerical algorithm source. This is the "Numerical Methods for Physics," the second version of the Matlab source.
- 2022-12-08 20:05:03下载
- 积分:1
-
求循环小数
对于任意的真分数 N/M ( 0 < N
- 2022-05-31 02:22:57下载
- 积分:1
-
7zip的c和c++源码
7zip的源码,VC++平台开发,c的是解压算法,c++压缩解压算法都有,给适合的朋友们,本人正在寻找zip压缩算法,纯C语言,希望得到大家的帮忙,谢谢!
- 2023-05-27 17:25:03下载
- 积分:1
-
小波的书
小波小波书小波书小波书小波书小波书小波书
- 2022-11-06 23:20:03下载
- 积分:1