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

钻石矿工

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

  • myFrame
    封装帧和解析帧,并有CRC校验,完全是自己手写(Feng binding and parsing frame, and a CRC checksum)
    2009-10-11 16:57:57下载
    积分:1
  • xyz2blh
    坐标转换,空间坐标XYZ到BLH的转换,GPS应用(Coordinate transformation, the space coordinates XYZ to BLH conversion, GPS applications)
    2020-06-28 14:20:02下载
    积分:1
  • 3464875676
    VB擂台赛作品:3D空间变换源程序,有需要的就下载吧。(VB contest works: the 3 d space transform source program, has the need to download it.)
    2013-08-17 11:56:50下载
    积分:1
  • blur
    first blur program on VB6
    2015-06-05 15:22:07下载
    积分:1
  • RS232_485multi-design
    485多机通讯的连接方式,主要有总线方式、星形方式等(connection of multi pc communication with 485)
    2010-03-03 15:03:27下载
    积分:1
  • ImageProcessing_Measure
    说明:  图像打开,直线,角度,圆面积的测量。 代码比较容易看懂,可以在此基础上扩展(images open, linear, angle, round area measurements. Code is easier to read, on the basis of this expansion)
    2006-04-10 22:40:45下载
    积分:1
  • WinSock_Te20888010282007
    利用winsock控件进行通讯的一个例子(By winsock control to communicate an example)
    2013-10-30 14:26:24下载
    积分:1
  • Counter_dll
    基于研华PCI-1710HG数据采集卡基于动态链接库的计数器程序。用VC++6.0MFC实现。程序功能实现实时计数值显示及频率值显示。(Advantech PCI-1710HG-based data acquisition card is based on the dynamic link library counter program. With VC++6.0MFC achieved. Program features real-time count value display and frequency display.)
    2020-09-10 10:58:00下载
    积分:1
  • ToolTip
    vc 下如何使用tooltip, vc 下如何使用tooltip, vc 下如何使用tooltip(vc how to use the tooltip, vc how to use the tooltip, vc how to use the tooltip)
    2010-05-06 12:47:43下载
    积分:1
  • lesson-1
    Windows程序运行原理及程序编写流程,窗口产生过程,句柄原理,消息队列,回调函数,窗口关闭与应用程序退出的工作关系,使用VC++的若干小技巧,stdcall与cdecl调用规范的比较,初学者常犯错误及注意事项。(Run Windows program principles and procedures for the preparation process, the process window, handle theory, message queues, the callback function, the application window is closed and quit working relationship, using VC++ several tips, stdcall and cdecl calling conventions comparison, beginners often mistakes and precautions.)
    2013-12-25 18:17:24下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载