登录
首页 » 数据结构 » 本人上传的是用贪心算法实现找零钱问题。贪婪算法的根本思想是逐步获得最优解。...

本人上传的是用贪心算法实现找零钱问题。贪婪算法的根本思想是逐步获得最优解。...

于 2022-03-02 发布 文件大小:550.40 kB
0 177
下载积分: 2 下载次数: 1

代码说明:

本人上传的是用贪心算法实现找零钱问题。贪婪算法的根本思想是逐步获得最优解。-I uploaded is to use greedy algorithm to find small change problem. Greedy algorithm is the fundamental idea is to gradually get the optimal solution.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 学校管理系统
    本项目旨在提供有关安得拉邦学院的信息。安得拉邦是一个希望参加不同课程学习的人有越来越多机会的州。本网站旨在向这些人提供有关A.P舒适时尚的机会的信息。拉普拉德什政府的新教育政策
    2022-01-30 21:22:09下载
    积分:1
  • 大型 作业3.1输入一个列L,生成一棵二叉排序树T;3.2对二叉排序树T作中序遍历,输出果;3.3计算二叉排序树T的平均查找长度, 输出果...
    数 据 结 构 大型 作业3.1输入一个数列L,生成一棵二叉排序树T;3.2对二叉排序树T作中序遍历,输出结果;3.3计算二叉排序树T的平均查找长度, 输出结果;3.4判断二叉排序树T是否为平衡二叉树,输出信息“OK!”/“NO!”;3.5再使用上述数列L,生成平衡的二叉排序树BT,每当插入新元素,发现当前的二叉排序树BT不是平衡的二叉排序树,则立即将它转换成新的平衡的二叉排序树BT;3.6计算平衡的二叉排序树BT的平均查找长度,输出结果。3.6分析对比未平衡化的二叉排序树和平衡的二叉排序树的查找效率(最好、最坏平均比较关键字数)-data structure large operations into a 3.1 L series, generating a binary tree Sort T; 3.2 pair of two fork-tree T for medium preorder, output results; 3.3 Ranking calculation Binary Tree Search T"s average length of the output; 3. four judgment ordering two trees T fork whether balanced binary tree, the output message "OK!"/"NO!" ; again using the 3.5 series L, generate balanced binary tree sort BT, whenever insert a new element, found the current binary sort tree is not-BT Value of two binary sort tree, it will be immediately converted into the new balance of the two fork-tree BT; 3.6 Calculation balanced binary tree sort BT search length of the average output results. 3.6 Comparative Analysis of
    2022-04-09 01:41:30下载
    积分:1
  • 对ACCESS库进行读写操作的VC代码
    对ACCESS数据库进行读写操作的VC代码-right ACCESS database and write the code VC
    2022-10-28 14:20:03下载
    积分:1
  • 设置信号放大器,在包中有详细的代码说明及注释,通过树的实现信号放大器的设置~...
    设置信号放大器,在包中有详细的代码说明及注释,通过树的数据结构实现信号放大器的设置~-Set-signal amplifier, in the package are detailed code descriptions and notes, through the tree data structure to achieve signal amplifier settings ~
    2022-03-09 10:29:57下载
    积分:1
  • 关系型库 Postgresql 6.5.2
    关系型数据库 Postgresql 6.5.2- Relations database Postgresql 6.5.2
    2023-03-22 01:15:03下载
    积分:1
  • 广义表的头文件简单实用,一般般的操作都有说明。
    广义表的头文件简单实用,一般般的操作都有说明。-Generalized table header file is simple and practical, generally have been described as the operation.
    2023-04-05 08:15:03下载
    积分:1
  • 中的非波那起序列
    数据结构中的非波那起序列-data structure of the non-wave sequence since then
    2022-01-26 00:12:52下载
    积分:1
  • 方便使用,功能齐全,放心使用量不要让站长把时间都花压缩包解压时不能有密码...
    方便使用,功能齐全,放心使用量不要让站长把时间都花压缩包解压时不能有密码-Easy to use, full-featured, secure and use not to let the owners have spent their time there can not be compressed package decompression password
    2022-10-30 11:35:03下载
    积分:1
  • 题目:串基本操作的演示 含有测试果和函关系调用图
    题目:串基本操作的演示 含有测试结果和函数关系调用图-Title: string containing the basic operation of the demonstration test results and the function call graph
    2022-01-31 18:47:32下载
    积分:1
  • A. General Queries
    基于数据库设计一个网页,实现基本功能:增删改、查询、统计报表的功能要有.管理信息-A. General Queries- The system should be able to retrieve useful data stored in the database. B. Statistics Collection- The system should be able to generate useful statistics information. C. Modification of Data- The system should provide interface for the store managers to add, remove and update the data in the database. D. Dealing with special events in the system. Your system should be able to handle real life situations that may arise from running the business. E. You are required to implement a web user interface for your system. F. The user interface should be intuitive and effective to use. G. Please bear in mind that a casual user should not have problems to check some simple information. H. The system should provide an English UI. You can also design multi-lingual UI.
    2022-12-15 03:20:03下载
    积分:1
  • 696516资源总数
  • 106611会员总数
  • 19今日下载