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

钻石矿工

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

  • P2P_UDP
    点到点通信代码,其中包括客户端程序和服务器端程序。(Code point-to-point communications, including client and server-side program.)
    2007-10-30 16:26:26下载
    积分:1
  • 3
    说明:  《Visual C++程序员实用大全》,觉得这本书对学习Visual C++的人还是很有用的,需要用超星阅读器打开()
    2007-09-27 19:35:56下载
    积分:1
  • 新建文本文档 (4)
    说明:  实现material studio多晶型物预测(Realize the prediction of material studio polycrystalline)
    2020-02-11 17:25:02下载
    积分:1
  • gaussian-white-noise
    This function generates an Additive White Gaussian Noise (AWGN) sample at every call. Its beauty lies in its simplicity! The generated sample set will have zero mean and a standard deviation of 1. Therefore, one can simply scale the output samples by a different standard deviation to generate different noise profiles. To do this scaling, simply multiply the sample with the standard deviation of your choice. This is a very versatile function that can be used in communication system simulations and random number generation in various applications. I have used it in the past while working with channel encoder and decoder simulators.
    2014-11-15 06:36:45下载
    积分:1
  • zld2attitude
    捷联惯导系统姿态解算,从IMU读入数据,输出数据与INS进行比对(Attitude Algorithm in Strap-down Inertial Navigation System )
    2017-04-04 20:26:19下载
    积分:1
  • ChatRoom11(Csocket)
    说明:  winsocket 实现网络聊天室 使用vc++6.0编程,socket 接口(winsocket network chat rooms using vc 6.0 programming interface socket)
    2006-05-17 03:58:47下载
    积分:1
  • 真二叉树重构
    说明:  但是对于“真二叉树”(每个内部节点都有两个孩子的二叉树),给定它的先序、后序遍历序列足以完全确定它的结构。将二叉树的n个节点用[1, n]内的整数进行编号,输入一棵真二叉树的先序、后序遍历序列,请输出它的中序遍历序列。(But for one proper binary tree, in which each internal node has two sons, we can uniquely determine it through its given preorder traversal sequence and postorder traversal sequence.Label n nodes in one binary tree using the integers in [1, n], we would like to output the inorder traversal sequence of a binary tree through its preorder and postorder traversal sequence.)
    2019-04-21 16:54:36下载
    积分:1
  • 97656
    VB DLL注入后子类化指定窗口,双击想放进托盘的窗口名。(The specified window VB of DLL after the injection of the subclass, double-click to put in the tray of the window.)
    2013-11-04 08:38:38下载
    积分:1
  • UiFeature
    很好的一个界面库,基于directui的,类似QQ,希望大家能用好他。(A good interface library, based directui, similar to QQ, I hope we can better him.)
    2014-01-02 23:37:34下载
    积分:1
  • String
    自己实现字符串类,包括字符串的符号重载功能等,适合于C++初学者学习字符串的结构及C++的封装。(Achieve their own string class, including overloaded function symbol string, etc., suitable for beginners to learn the structure and C++ C++ package string.)
    2014-09-07 14:48:44下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载