登录
首页 » 算法 » 在一个圆圈周围的操场上的操场放置氮堆。石头是有…

在一个圆圈周围的操场上的操场放置氮堆。石头是有…

于 2022-03-18 发布 文件大小:1.01 kB
0 201
下载积分: 2 下载次数: 1

代码说明:

在一个圆形操场的四周摆放着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.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • android first home screen
    android first home screen
    2022-03-01 22:36:30下载
    积分:1
  • 自动编号
    1.1 ANPR 系统作为实际人工智能中的应用 信息技术大规模融入现代生活的各个方面造成的对处理车辆作为概念资源信息系统中的需求。由于没有任何数据的独立信息系统有没有意义,还有需要变换车辆之间的现实和信息系统有关的信息。这可以通过一个人的代理,或通过特殊的智能设备,是能够通过其在实际环境中的车牌识别车辆和反映的是它在概念的资源。因此,已经开发各种识别技术和数字板识别系统今天在各类交通和安全应用程序,如停车、 访问和边境管制或跟踪被盗汽车的使用。
    2022-03-20 05:55:28下载
    积分:1
  • 3D-FDTD程序计算平行双阵子,可以调整阵子间距和阵子半径。以达到设计一定仰角的目的。-3D-FDTD calculated parallel ago, spacing can be adjusted stream and stream radius. Designed to achieve a certain elevation purposes.
    2022-05-09 10:33:21下载
    积分:1
  • 介绍了二分法求解非线性方程的算法,欢迎大家提出宝贵意见。...
    介绍了二分法求解非线性方程的算法,欢迎大家提出宝贵意见。-Introduced the dichotomy of the algorithm for solving nonlinear equations, welcome you to give valuable advice.
    2022-06-19 07:47:23下载
    积分:1
  • LTE中turbo编解码
    这个系统是基于802.16标准。包含的内容广域网中OFDM物理层的相关内容,TDD,网络管理,调度器,移到单元
    2022-02-03 21:10:03下载
    积分:1
  • 函数连分式的计算
    函数连分式的计算-function even fractional calculation
    2022-03-15 22:18:31下载
    积分:1
  • 经典模拟退火算法,希望能对大家有所帮助
    经典模拟退火算法,希望能对大家有所帮助
    2022-03-19 14:17:31下载
    积分:1
  • 常用数学计算工具
    常用数学计算工具-tool commonly used mathematical calculations
    2022-01-22 17:15:44下载
    积分:1
  • vc++源代码,任意分布的随机数的产生,注意它的随机性
    vc++源代码,任意分布的随机数的产生,注意它的随机性-vc source code, arbitrary distribution of the random numbers generated, the attention of its randomness
    2023-07-20 21:55:03下载
    积分:1
  • Each case the geometric algorithm is set, the geometric algorithm of data is cer...
    各种情况的几何算法集,对数据的几何算法计算有一定的帮助作用-Each case the geometric algorithm is set, the geometric algorithm of data is certainly helpful to the role of
    2022-01-28 07:52:50下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载