登录
首页 » 算法 » 数字三角

数字三角

于 2023-01-28 发布 文件大小:233.52 kB
0 101
下载积分: 2 下载次数: 1

代码说明:

资源描述问题描述:给定一个由n行数字组成的数字三角形,如下图所示。试用动态规划算法,计算出从三角 顶部至底部的一条路径,使得该路径经过的数字总和最大。 注意每个数字只能走向下一行左边或右边的数字,而不能跳跃的走。 7 3 8 8 1 0 2 7 4 4 4 5 2 6 5

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

发表评论

0 个回复

  • c++实现坦克大战游戏
    用C++编写的坦克大战游戏,可以参考参考,经本人运行检验过!游戏做得很精致,是个学习vc的好例子,对类的用法很精髓,使用了多种高级编程技术,多线程,动画处理,消息打包和解包,定时,地图传输,图像管理,键盘管理等等,是一个不可多得的学习高级windows编程的材料啊!
    2022-10-11 08:10:03下载
    积分:1
  • A program to demonstrate the optimization process of ant colony optimization for...
    A program to demonstrate the optimization process of ant colony optimization for the traveling saleman problem (TSP). The cities are shown as red circles, the pheromone on the connections between them (fully connected graph) by gray lines. The darker the grey, the more pheromone is currently on the edge. During the optimization, the currently best found tour is drawn in red. To run the optimization, first create a random TSP, then create an ant colony, and finally run the optimization.
    2022-02-19 22:51:42下载
    积分:1
  • roseTTA the pdf tutorials, Oh, that you are stuck atop a line than rosetta tutor...
    roseTTA的pdf教程,呵呵,这个你是网上下不来的,比rosetta自带的教程内容多一些,很详细-roseTTA the pdf tutorials, Oh, that you are stuck atop a line than rosetta tutorial that comes with the contents of a little more detail
    2022-03-19 20:53:05下载
    积分:1
  • gps经纬度坐标转换为地心坐标的源代码!
    gps经纬度坐标转换为地心坐标的源代码!-gps latitude and longitude coordinates converted to geocentric coordinates of the source code!
    2023-07-25 02:50:04下载
    积分:1
  • 这是一个调度程序,这个,使用开始,..
    这是一个调度程序,使用FFLL这个算法,入门,可以下载试试!
    2023-01-10 16:55:04下载
    积分:1
  • Gauss_Seidel迭代
    Gauss_Seidel迭代-Gauss_Seidel
    2022-06-21 07:32:21下载
    积分:1
  • 吉尔求解一阶微分方程组的
    吉尔法求解一阶微分方程组的算法-Gil Solving equations a band algorithm
    2022-11-29 16:40:03下载
    积分:1
  • IIR Filter Coefficient Quantization Example % written by DRB on 6
    IIR Filter Coefficient Quantization Example % written by DRB on 6-Dec-2004 for ECE3703 % % Looks at unquantized filter (ideal), direct form, and cascaded second % order section (SOS). -IIR Filter Coefficient Quantization Exam ple% written by DRB on 6-Jan-2004 for ECE3703%% Looks at unquantized filter (ideal). direct form, and cascaded second order section% (SOS).
    2023-03-26 22:35:03下载
    积分:1
  • 轻松用c++实现线性选择
    资源描述元素选择问题 给定线性序集中的n个元素和一个整数k,1≤k≤n,要求找出这n个元素中第k小的元素。 当k=1时——找最小元素; 当k=n时——找最大元素; 当k=(n+1)/2——找中位数 算法设计思想 与快速排序算法的设计思想基本相同,即对输入数组进行递归划分,但操作上只对划分出的两个子数组中的一个进行进一步的递归处理;
    2022-01-24 09:05:38下载
    积分:1
  • 数据结构之图的基本操作
    该程序主要介绍了图的基本操作,使用C语言编写的,主要包括如何建立一个图,进行图的深度优先搜索和广度优先搜索,求图的最小生成树,打印出图的节点,删除图的节点和边
    2022-04-27 07:53:12下载
    积分:1
  • 696518资源总数
  • 105873会员总数
  • 12今日下载