文件名称:guff
- 所属分类:
- 数值算法/人工智能
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- chenx******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
在一个操场的四周摆放着n 堆石子。现要将石子有次序地合并成一堆。规定在合并过程
中最多可以有m(k)次选k 堆石子合并成新的一堆,2≤k≤n,合并的费用为新的一堆的石子
数。试设计一个算法,计算出将n 堆石子合并成一堆的最小总费用。-In a playground around the stones are placed n heap. Stone is to have the order to merge into a pile. Provisions in the merger process can have up to m (k) election k heap stones into a pile of new, 2 ≤ k ≤ n, the combined cost for the new pile of stones a few. Try to design an algorithm to calculate the n heap a pile of stones into the smallest total cost.
中最多可以有m(k)次选k 堆石子合并成新的一堆,2≤k≤n,合并的费用为新的一堆的石子
数。试设计一个算法,计算出将n 堆石子合并成一堆的最小总费用。-In a playground around the stones are placed n heap. Stone is to have the order to merge into a pile. Provisions in the merger process can have up to m (k) election k heap stones into a pile of new, 2 ≤ k ≤ n, the combined cost for the new pile of stones a few. Try to design an algorithm to calculate the n heap a pile of stones into the smallest total cost.
相关搜索: 石子合并
(系统自动生成,下载前可以参看下载内容)
下载文件列表
guff.cpp