文件名称:test3-5
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:482.75kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
问题描述:设有11种不问的钱币各若干张,可用这II种钱币产生许多不同的面值。试
设计一个算法,计算给定的某个面值,能有多少种不同的产生方法。例如有1分3张,2分 3张,5分1张,则能组成7分面值的方法有:3个1分+2个2分,1个1分十3个2分,2 个1分+1个5分,1个2分+1个5分共四种。
^编程任务:对于给定的II种不同钱币,编程计算某个给定面值能有多少种不同的产生
方法。-Problem Descr iption: There should be 11 kinds of coins did not ask the number of beds available this II produced many different kinds of coin denominations. Try to design an algorithm to calculate a nominal value of a given that there can be many different returned. For instance, a sub-3, 2 points 3, 5 min 1, then can be composed of seven sub-par methods are: 3 1 min+2 2 points, a 1 minute 10 3 2 points, 2 1 points+1 5 points, a 2 min+1 5 minutes of four kinds. ^ Programming task: for a given II different coins, the calculation of a given program can have many different denominations is returned.
设计一个算法,计算给定的某个面值,能有多少种不同的产生方法。例如有1分3张,2分 3张,5分1张,则能组成7分面值的方法有:3个1分+2个2分,1个1分十3个2分,2 个1分+1个5分,1个2分+1个5分共四种。
^编程任务:对于给定的II种不同钱币,编程计算某个给定面值能有多少种不同的产生
方法。-Problem Descr iption: There should be 11 kinds of coins did not ask the number of beds available this II produced many different kinds of coin denominations. Try to design an algorithm to calculate a nominal value of a given that there can be many different returned. For instance, a sub-3, 2 points 3, 5 min 1, then can be composed of seven sub-par methods are: 3 1 min+2 2 points, a 1 minute 10 3 2 points, 2 1 points+1 5 points, a 2 min+1 5 minutes of four kinds. ^ Programming task: for a given II different coins, the calculation of a given program can have many different denominations is returned.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
test3-5/Debug/BuildLog.htm
test3-5/Debug/mt.dep
test3-5/Debug/stdafx.obj
test3-5/Debug/test3-5.exe.embed.manifest
test3-5/Debug/test3-5.exe.embed.manifest.res
test3-5/Debug/test3-5.exe.intermediate.manifest
test3-5/Debug/test3-5.obj
test3-5/Debug/test3-5.pch
test3-5/Debug/vc90.idb
test3-5/Debug/vc90.pdb
test3-5/ReadMe.txt
test3-5/stdafx.cpp
test3-5/stdafx.h
test3-5/targetver.h
test3-5/test3-5.cpp
test3-5/test3-5.vcproj
test3-5/test3-5.vcproj.B9F12BE2664840F.Administrator.user
test3-5/Debug
test3-5
test3-5/Debug/mt.dep
test3-5/Debug/stdafx.obj
test3-5/Debug/test3-5.exe.embed.manifest
test3-5/Debug/test3-5.exe.embed.manifest.res
test3-5/Debug/test3-5.exe.intermediate.manifest
test3-5/Debug/test3-5.obj
test3-5/Debug/test3-5.pch
test3-5/Debug/vc90.idb
test3-5/Debug/vc90.pdb
test3-5/ReadMe.txt
test3-5/stdafx.cpp
test3-5/stdafx.h
test3-5/targetver.h
test3-5/test3-5.cpp
test3-5/test3-5.vcproj
test3-5/test3-5.vcproj.B9F12BE2664840F.Administrator.user
test3-5/Debug
test3-5
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.