登录
首页 » Visual C++ » 钻石矿工

钻石矿工

于 2020-10-21 发布 文件大小:16KB
0 706
下载积分: 1 下载次数: 4

代码说明:

  算法设计中的钻石矿工问题在一座金字塔每块石头上都镶有一块钻石从金字塔的顶端向下收集钻石尽可能收集价值高的钻石,每层每次只能从一块砖斜向左下或斜向右下走到另一块砖上。设计算法求出获取的钻石最大价值及路径。(动态规划)(The problem of diamond miner in algorithm design is set up on every stone in Pyramid. A diamond is collected from the top of Pyramid. Diamond is collected as high as possible. Every layer can only lean from one brick to the left or to the right to go to the next brick at a time. The design algorithm is used to find the maximum value and path of the obtained diamond. (dynamic programming))

文件列表:

金字塔(动态规划) 截图.png, 19139 , 2017-05-31
金字塔(动态规划).cpp, 2055 , 2017-05-31

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

发表评论

0 个回复

  • RstAndClsCmptr
    用visual c++实现系统开关机,注销(With visual c++ to achieve switching machines, log off)
    2010-05-20 16:12:47下载
    积分:1
  • OpenSTL
    MFC的小程序,打开文本的STL文件,并实现缩放、旋转、计算体积、表面积功能(MFC applet, open the text of STL file, and zoom in, rotate, calculate volume, surface area function)
    2015-08-28 23:00:29下载
    积分:1
  • KEYDAC
    本文件是C8051F040键盘及DA输出测试程序;DA输出端子(J10)可输出2路DA(DAC0,DAC1),四路按键(KEY1--KEY4,须设置跳线JP5),测试时按下KEY1--KEY4,分别对应DAC0,DAC1输出0.5V,1V,1.5V,2V。 (The present document is a C8051F040 keyboard and DA output test procedures DA output terminal (J10) can output 2-way DA (DAC0, DAC1), four buttons (KEY1- KEY4, shall be provided jumpers JP5), test press KEY1--KEY4, corresponding to DAC0, DAC1 output 0.5V, 1V, 1.5V, 2V.)
    2009-01-05 11:16:30下载
    积分:1
  • 下载软件
    从网页上下载,这样的话可以用其加工来设计升级程序(downloaded from the website, so processing can be used to design its promotion procedures)
    2005-01-28 23:18:59下载
    积分:1
  • Stocks-query
    VB编写股票行情小工具MiniStock(MiniStock source)
    2013-11-07 15:28:43下载
    积分:1
  • Chicked
    Windows编程屏幕涂鸦程序.学习SDK编程的好代码。(Windows programming procedures screen graffiti. Learn good SDK programming code.)
    2009-03-11 15:21:11下载
    积分:1
  • AVrjicunqi
    ATMEGA16寄存器说明应用,特别实用(ATMEGA16 register to illustrate the application, especially useful)
    2011-11-01 14:28:27下载
    积分:1
  • 8df5833b7339
    win32 SDK 方式实现拦截系统关机(Win32 SDK)
    2013-09-16 14:11:26下载
    积分:1
  • client2
    客户端连接服务器的程序,以此测试客户端是否连接上。(client programming source)
    2013-09-02 16:17:04下载
    积分:1
  • BEIDOUWeixing
    北斗卫星接口文件 北斗卫星导航系统 空间信号接口控制文件 (测试版) (Beidou satellite interface file Beidou satellite navigation system space signal Interface Control Document (Beta))
    2012-11-04 12:16:07下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载