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

钻石矿工

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

  • quzze
    该代码包括了队列的实现,主要包括队列的进出问题, 以及队列的查询,删除等问题。(The code includes queue implementation, mainly including queue in and out of the question, as well as the queue query, delete, etc.)
    2014-01-03 10:44:40下载
    积分:1
  • ArcGisForProgram
    对于开发地图程序的新手来说,是个很好的学习程序(Map for the development of new procedures, it is a good study program)
    2009-02-25 23:06:38下载
    积分:1
  • Tracking-Skin-colored-Objects
    We present a methodology for tracking multiple skin-colored objects in a monocular image sequence. The proposed approach encompasses a collection of techniques that allow the modeling, detection and temporal association of skin- colored objects across image sequences.
    2014-02-27 09:33:24下载
    积分:1
  • canvasFrame
    说明:  这是一段在VC6环境下编写的用DirectX实现图片镂空效果的源代码。(This is a period in the preparation of the VC6 environment to achieve images with DirectX source code hollowing effect.)
    2009-08-07 11:00:24下载
    积分:1
  • client2
    客户端连接服务器的程序,以此测试客户端是否连接上。(client programming source)
    2013-09-02 16:17:04下载
    积分:1
  • readsac
    用C程序编写,可以读取SAC格式的地震波形数据。头文件包含了sac格式的头段。在window和LINUX环境下都可运行。(With C programming, you can read the seismic waveform data SAC format. Header file contains the header sac format. Window and can be run under LINUX environment.)
    2020-11-08 17:59:48下载
    积分:1
  • librarymanger
    说明:  vc写的,用了odbc来创建数据源,然后操作access数据库的图书馆管理系统(library system by vc odbc)
    2010-04-13 12:51:20下载
    积分:1
  • shellicon_demo
    从windows程序种查找图标资源,提取图标。(Find the icon resource the windows program, extract the icon.)
    2017-03-14 01:36:13下载
    积分:1
  • MTGCCombobox
    Combo box control with autocomplete
    2013-11-16 18:08:40下载
    积分:1
  • udp
    利用socket技术,实现了局域网之间的通信,两个客户端之间可以相互聊天(Socket technology, communication between the LAN between the two clients can chat with each other. )
    2012-05-06 09:10:59下载
    积分:1
  • 696518资源总数
  • 106227会员总数
  • 11今日下载