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

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

于 2022-03-18 发布 文件大小:1.01 kB
0 179
下载积分: 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 个回复

  • 粒子群优化(c++版)
    粒子群优化算法(c++版)-PSO algorithm (c version)
    2022-08-18 10:22:14下载
    积分:1
  • 器能够实现加、减、乘、除简单运,还能够实现数据的输入,输出,计,显示及程序退出等功能...
    计算器能够实现加、减、乘、除简单运算,还能够实现数据的输入,输出,计算,显示及程序退出等功能-calculators can be achieved, plus or minus, multiplication and simple operation, but also to achieve the data input and output, calculation, Display and exit procedures, and other functions
    2023-03-25 05:10:03下载
    积分:1
  • Slope One
    Slope One算法实现,用java编程语言实现的,可用于数据挖掘研究和知识发现等,其中还提供了数据集供实验分析。
    2022-05-07 10:33:24下载
    积分:1
  • 科学函数计器^
    科学函数计算器^-scientific calculator function ^
    2022-07-14 20:05:05下载
    积分:1
  • a way to solve the problems of partial differential equations
    一个PPT文件 非常详细的介绍偏微分及其算法 用于计算偏微分-a way to solve the problems of partial differential equations
    2022-01-27 12:57:22下载
    积分:1
  • 迭代阈值分割
    图像阈值分割---迭代算法 1.处理流程:        1.为全局阈值选择一个初始估计值T(图像的平均灰度)。        2.用T分割图像。产生两组像素:G1有灰度值大于T的像素组成,G2有小于等于T像素组成。        3.计算G1和G2像素的平均灰度值m1和m2;        4.计算一个新的阈值:T = (m1 + m2) / 2;        5.重复步骤2和4,直到连续迭代中的T值间的差小于一个预定义参数为止。     &
    2023-02-13 16:40:03下载
    积分:1
  • 基于局部敏感自适应背景建模 SuBSENSE
    资源描述该代码是论文《SuBSENSE: A Universal Change Detection Method With Local Adaptive Sensitivity》的作者公布在其个人主页上的,论文主要是LBSP算法和PBAS算法的改进与融合,该算法在2014年的CDW数据集上取得过第一名的成绩。
    2023-04-12 22:05:05下载
    积分:1
  • using FORTRAN prepared by the parabolic equation numerical algorithm
    用fortran编写的抛物线方程的数值算法-using FORTRAN prepared by the parabolic equation numerical algorithm
    2023-08-14 13:25:02下载
    积分:1
  • 利用c语言编写,编译成动态链接库而成的matlab整数规划工具箱,包含c语言源程序,...
    利用c语言编写,编译成动态链接库而成的matlab整数规划工具箱,包含c语言源程序,-use of language, compiled DLL from the Matlab Integer Programming Toolbox contains language source c,
    2022-06-16 08:49:44下载
    积分:1
  • The cart with an inverted pendulum, shown below, is "bumped" with an impulse f...
    The cart with an inverted pendulum, shown below, is "bumped" with an impulse force, F. Determine the dynamic equations of motion for the system, and lin earize about the pendulum s angle, theta = Pi (in other words, assume that p endulum does not move more than a few degrees away from the vertical, chosen to be at an angle of Pi). Find a controller to satisfy all of the design re quirements given below. -The cart with an inverted pendulum, shown below, is "bumped" with an impulse force, F. Determine the dynamic equations of motion for the system, and lin earize about the pendulum s angle, theta = Pi (in other words, assume that p endulum does not move more than a few degrees away from the vertical, chosen to be at an angle of Pi). Find a controller to satisfy all of the design re quirements given below.
    2022-03-17 02:37:20下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载