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

钻石矿工

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

  • Linux_USB_Core(v1.0)
    linux 下usb 驱动编写,对usb进行十分详细的解析(prepared under the usb drive linux on usb for a very detailed analysis)
    2010-11-18 11:25:58下载
    积分:1
  • Ltpcc
    一个串口通讯的源码,自定义的通讯协议,与切纸设备连接(A serial communications source, since the definition of communication protocols, and cutting equipment to connect)
    2008-04-02 10:55:28下载
    积分:1
  • Computer-Networks-and-Internets
    这是一个用c++编写的,socket API 的服务器端和客户端的相互响应的简单程序.用cmd打开程序exe,输入“webserver + 端口号”,webclient方面,输入“webclient + 127.0.0.1 + 端口号5600”,则可以在客户端上显示接收到的信息。(This is a c++ written in response to a simple procedure of mutual socket API server and client' s Open Program exe, enter " webserver+ port number" , webclient, the input " webclient+ 127.0.0.1+ port number 5600 with cmd " you can display the information received on the client.)
    2013-12-27 21:41:43下载
    积分:1
  • 测回法
    根据测回法测得的角度进行计算使得角度的误差变得更小(According to the angle measured by the method of measurement, the angle error becomes more accurate.)
    2018-10-16 10:21:01下载
    积分:1
  • ProgrammingMicrosoftDirectshow
    学习dshow的好书籍,,即提高英文水平,也提高编程水平(learning dshow good books, that the standard of English, it also raises the level of programming)
    2007-01-09 14:05:51下载
    积分:1
  • cPP-Guinness-classic-code
    c++经典代码大全,适合初学者下载参考使用。(c++ Guinness classic code, suitable for beginners reference.)
    2014-01-13 11:17:12下载
    积分:1
  • DM6437guide
    DM6437 达盛实验指导书 (dm6437 experiment guide)
    2014-07-16 15:03:17下载
    积分:1
  • liti
    《C++程序设计教程(第2版)》例题源码,看看是不是你需要的(" C++ programming tutorial (2) Example source code to see is not what you need)
    2013-03-27 12:36:49下载
    积分:1
  • osgOcean
    osg 海面上添加小船,有月亮,有风,有倒影(OSG adds boats to the sea, with the moon, the wind and the reflection)
    2020-09-13 17:27:59下载
    积分:1
  • ParseS57
    电子海图程序源代码,可以对S57格式文件进行解析,希望高手能将显示做出来(Electronic Chart source code, you can format documents on S57 resolve, I hope you can show up to do)
    2021-01-31 10:48:37下载
    积分:1
  • 696516资源总数
  • 106442会员总数
  • 11今日下载