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

钻石矿工

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

  • GPS-easysuit
    matlab处理GPS数据的学习用代码。共5个部分附带说明书。包括第一部分GPS时间系统、第二部分Rinex文件读取、第三部分接收机的地心地固位置计算、第四部分基于伪距码的基线解算、第五部分双差解算(GPS data processing matlab learning with the code. A total of five parts with manual. GPS time system includes a first portion, a second portion Rinex file read, the third part of the ground EarthFixed receiver position calculation, the fourth part of the pseudo-code based on the baseline solution, the fifth part of the double difference solver)
    2013-09-11 17:22:47下载
    积分:1
  • 06_DS18B20
    DS18B20温度测量实验 功能:在数码管上显示当前DS18B20测到的温度 小数部分为4位,温度为负时,最高位显示"-" 测量范围:-55℃ ~ +125℃(DS18B20 temperature measurement test functions: in the digital tube displays the current measured temperature of DS18B20 fractional portion 4, the temperature is negative, the highest display " -" Measuring range:-55 ℃ ~+125 ℃)
    2010-01-13 09:00:49下载
    积分:1
  • dialog(ownerdraw)
    MFC对话框的自绘,各种样式对话框、美化对话框。(CDialog Ownerdraw)
    2013-10-19 13:43:24下载
    积分:1
  • froq
    比较完整的OFDM的仿真模型和源码,有比较完整的设计思路,可供学习(Relatively complete OFDM simulation model and the source code, there is a complete design ideas, to learn from)
    2017-08-13 17:19:03下载
    积分:1
  • shangchuanchengxu3
    用指向指针的指针的方法对5个字符串排序并输出。(With a pointer to a pointer to a string sort method 5 and the output.)
    2011-10-20 13:33:32下载
    积分:1
  • NMM
    数值流形方法的源代码,主要由于连续和非连续变形的分析,裂纹扩展的模拟等(NMM source code, mainly due to the continuous and discontinuous deformation analysis, simulation of crack propagation)
    2020-06-26 17:00:02下载
    积分:1
  • Gina1
    可以替换windows登录的控制功能的gina.dll(replace widnows msgina.dll for login)
    2010-10-21 19:12:21下载
    积分:1
  • vbTechnique
    说明:  VB单片机编码模拟程序 附代码,输入一个二进制数据,它会分别模拟数据归零、不归零I、伪三进制、曼彻斯特、双极交替记号反转、差分曼彻斯特压缩等(VB MCU coding simulation program with code attached, input a binary data, it will simulate the data return to zero, non-return to zero I, pseudo ternary, Manchester, bipolar alternating mark inversion, differential Manchester compression, etc.)
    2020-06-23 18:56:43下载
    积分:1
  • ODBC
    ODBC连接数据库MYSQL和SQLITE两种方式。(ODBC database connection )
    2012-08-31 18:21:33下载
    积分:1
  • comElves
    基于VC++的串口调试程序可以发送接收数据,非常实用于初学者研究学习(Serial debugger based on VC++ can send and receive data, very useful for beginners learning)
    2013-03-16 22:26:29下载
    积分:1
  • 696516资源总数
  • 106637会员总数
  • 8今日下载