文件名称:设计一个用最少硬币找钱m的方法
-
所属分类:
- 标签属性:
- 上传时间:2012-09-04
-
文件大小:525.22kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
设有n种不同面值的硬币,各硬币的面值存于数组T[1:n]中。现要用这些面值的硬币来找钱。可以使用的各种面值的硬币个数存于数组Coins[1:n]中。对任意钱数0≤m≤20001,设计一个用最少硬币找钱m的方法。-With n different coins, the face value of the coins stored in the array T [1: n] in the. Now use these coins to find the money. You can use the number of coins of various denominations stored in an array of Coins [1: n] in the. The amount of money for any 0 ≤ m ≤ 20001, find the money to design a coin with at least m of the method.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
3.2/3.2/3.2.idc
3.2/3.2/3.2.vcproj
3.2/3.2/3.2.vcproj.202-25.Administrator.user
3.2/3.2/3.2.vcproj.CKY-PC.CKY.user
3.2/3.2/Debug/3.2.exe.intermediate.manifest
3.2/3.2/Debug/BuildLog.htm
3.2/3.2/Debug/fileoper.obj
3.2/3.2/Debug/leastcoins.obj
3.2/3.2/Debug/mt.dep
3.2/3.2/Debug/vc90.idb
3.2/3.2/Debug/vc90.pdb
3.2/3.2/fileoper.cpp
3.2/3.2/input.txt
3.2/3.2/input1.txt
3.2/3.2/input2.txt
3.2/3.2/input3.txt
3.2/3.2/leastcoins.cpp
3.2/3.2/output.txt
3.2/3.2/stax.h
3.2/3.2.ncb
3.2/3.2.sln
3.2/3.2.suo
3.2/Debug/3.2.exe
3.2/Debug/3.2.ilk
3.2/Debug/3.2.pdb
3.2/Debug/input.txt
3.2/Debug/input1.txt
3.2/Debug/input2.txt
3.2/Debug/input3.txt
3.2/Debug/output.txt
3.2/output1.txt
3.2/output2.txt
3.2/3.2/Debug
3.2/3.2
3.2/Debug
3.2
3.2/3.2/3.2.vcproj
3.2/3.2/3.2.vcproj.202-25.Administrator.user
3.2/3.2/3.2.vcproj.CKY-PC.CKY.user
3.2/3.2/Debug/3.2.exe.intermediate.manifest
3.2/3.2/Debug/BuildLog.htm
3.2/3.2/Debug/fileoper.obj
3.2/3.2/Debug/leastcoins.obj
3.2/3.2/Debug/mt.dep
3.2/3.2/Debug/vc90.idb
3.2/3.2/Debug/vc90.pdb
3.2/3.2/fileoper.cpp
3.2/3.2/input.txt
3.2/3.2/input1.txt
3.2/3.2/input2.txt
3.2/3.2/input3.txt
3.2/3.2/leastcoins.cpp
3.2/3.2/output.txt
3.2/3.2/stax.h
3.2/3.2.ncb
3.2/3.2.sln
3.2/3.2.suo
3.2/Debug/3.2.exe
3.2/Debug/3.2.ilk
3.2/Debug/3.2.pdb
3.2/Debug/input.txt
3.2/Debug/input1.txt
3.2/Debug/input2.txt
3.2/Debug/input3.txt
3.2/Debug/output.txt
3.2/output1.txt
3.2/output2.txt
3.2/3.2/Debug
3.2/3.2
3.2/Debug
3.2
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.