文件名称:zuishofeiyougouwuwenti
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.25kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
商店中每种商品都有标价. 例如, 一朵花的价格是 2 元, 一个花瓶的价格是 5 元, 等等. 为了吸引顾客, 商店提供了一组优惠商品价. 优惠商品是把一种或多种商品分成一组, 并降价销售. 例如: 3 朵花的价格不是 6 元而是 5 元, 2 个花瓶加 1 朵花的优惠价是 10 元, 等等.
对于给定欲购商品的价格, 数量以及优惠商品价, 请计算所购商品应付的最少费用.
-Each store has a price of goods. For example, the price of a flower is 2 yuan, the price of a vase is 5 dollars, and so on. In order to attract customers, the store provides a set of preferential commodity prices. Offers a kind of commodity is to or more of the goods into a group, and a sale. For example: three spent 6 yuan but not the price of five yuan, 2 plus a flower vase price is 10 yuan, and so on. we wish to purchase goods for a given price, quantity, and discount commodity prices, calculate the cost of purchased goods to meet the minimum.
对于给定欲购商品的价格, 数量以及优惠商品价, 请计算所购商品应付的最少费用.
-Each store has a price of goods. For example, the price of a flower is 2 yuan, the price of a vase is 5 dollars, and so on. In order to attract customers, the store provides a set of preferential commodity prices. Offers a kind of commodity is to or more of the goods into a group, and a sale. For example: three spent 6 yuan but not the price of five yuan, 2 plus a flower vase price is 10 yuan, and so on. we wish to purchase goods for a given price, quantity, and discount commodity prices, calculate the cost of purchased goods to meet the minimum.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
最少费用购物/最少费用购物.cpp
最少费用购物
最少费用购物
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.