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

钻石矿工

于 2020-10-21 发布 文件大小:16KB
0 516
下载积分: 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 个回复

  • client_udp
    网络通讯:UDP客户端的工程源代码,已经测试通过(Network Communication: UDP client' s project source code, has been tested)
    2010-10-14 12:32:21下载
    积分:1
  • vcText
    用VC++编写一个CDC文字处理程序的代码,通过本程序大家可掌握如何产生自定义字体和自定义插入符,熟悉对CString类的使用。讲解定时器的使用和DrawText函数的巧妙运用以及CDC的裁减功能。(Using VC++ to write a word processing program code CDC, through this process we can learn how to create custom fonts and custom insert a symbol, familiar with the use of the CString class. Explain the use of timers and the clever use of DrawText function and the reduction of CDC function.)
    2010-05-18 18:18:01下载
    积分:1
  • TestWindowsServer
    Windows服务的源码,实现了Windows服务的整个过程,可直接使用(Source Windows services, Windows services to achieve the whole process, and can be used directly)
    2013-11-28 10:01:18下载
    积分:1
  • realvncsrc
    vnc源码,十分有用,编译通过。大家可以来试试。能够收获不少。(vnc code)
    2020-12-04 16:49:23下载
    积分:1
  • 七段数码显示的数字时钟
    模拟七段数码显示数字时钟,自定义CDigitalClock继承自CStatic类(Analog seven digital display, digital clock, custom CDigitalClock inherited from the CStatic class)
    2017-08-17 22:52:21下载
    积分:1
  • Game_Demo
    ogre的高级编程框架,适合对ogre深入学习者。(the ogre senior programming framework,suitable learners in depth ogre.)
    2013-04-02 13:22:26下载
    积分:1
  • VCD_management_system
    C++实习作业,VCD出租管理系统,有查询,借阅,计费,记日期等功能(system of renting and management of VCD)
    2015-11-21 10:33:09下载
    积分:1
  • Desktop
    基于linux的多人聊天程序代码 可以注册 但不是广播 是一对一的聊天(Linux-based multiplayer chat program code can be registered, but is not a broadcast one to one chat)
    2013-06-12 14:59:39下载
    积分:1
  • 5956444spwm20170327
    脉宽调制,亲自调试通过,是一个很好学习的资料(Pulse width modulation, self-testing, is a very good learning material.)
    2020-06-17 04:40:01下载
    积分:1
  • FMP_Demo1029_new
    EM8471神龙卡源代码,支持MPEG4,AVI等硬件格式播放.(EM8471 SHENLONG card source code, support for MPEG4, AVI format players and other hardware.)
    2008-07-07 21:12:48下载
    积分:1
  • 696524资源总数
  • 103971会员总数
  • 70今日下载