文件名称:shangdongjianbing
介绍说明--下载内容来自于网络,使用问题请自行百度
山东煎饼问题。今天TheBeet去门口那家山东煎饼小摊买煎饼,到他付钱的时候他才发现,他的钱包里面只有一张100块。于是他需要把这张100块钱破开,但是TheBeet不喜欢硬币,另外由于某种原因,TheBeet也不喜欢20元的纸币,另外也不喜欢钱包里面有太多张纸币,所以他希望拿到尽量少的纸币数。给出摊主现有的纸币数量,求摊主要如何找零给TheBeet才能满足他的要求。
-Shandong pancake problem. Today TheBeet go door Shandong pancake stalls to buy the pancake, he paid when he discovered his wallet which only a 100. He needs to break open this 100 dollars, but TheBeet do not like the coin, In addition, for some reason, TheBeet do not like the $ 20 note, the other did not like the purse there are too many notes, so he wanted to get minimize the number of notes. Given the number of banknotes in the stall, to seek share of how to give change to TheBeet in order to meet his demands.
-Shandong pancake problem. Today TheBeet go door Shandong pancake stalls to buy the pancake, he paid when he discovered his wallet which only a 100. He needs to break open this 100 dollars, but TheBeet do not like the coin, In addition, for some reason, TheBeet do not like the $ 20 note, the other did not like the purse there are too many notes, so he wanted to get minimize the number of notes. Given the number of banknotes in the stall, to seek share of how to give change to TheBeet in order to meet his demands.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
shangdongjianbing/readme.txt
shangdongjianbing/shangdongjianbing.cpp
shangdongjianbing
shangdongjianbing/shangdongjianbing.cpp
shangdongjianbing
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.