文件名称:stamp
-
所属分类:
- 标签属性:
- 上传时间:2015-01-09
-
文件大小:922.05kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
acm题,纪念邮票邮局最近推出了一套纪念邮票,这套邮票共有N张,邮票面值各不相同,按编号顺序为1分,2分,……,N分。小明是个集邮爱好者,他很喜欢这套邮票,可惜现在他身上只有M分,并不够把全套都买下。他希望尽量买,最好刚好花光所有的钱。作为一个集邮爱好者,小明也不想买的邮票编号断断续续,所以小明打算买面值a分至b分的b-a+1张连续的邮票,且总价值刚好为M分。 我们用不同的算法求出所有符合要求的方案,以[a,b]的形式输出。-acm questions, post office recently launched a commemorative set of commemorative stamps, stamps are a total of N sheets, stamps face value varies in numerical order of 1 minute, 2 minutes, ......, N points. Xiao Ming is a stamp collector, he was very fond of the stamps, but now his body is only M points, and not enough to have bought a full set. He hoped that try to buy the best just spend all the money. As a philatelists, Xiao Ming not want to buy stamps numbers off, so Xiao Ming intend to buy a par value b min b-a+1 continuous sheets of stamps, and the total value of M points exactly. We use different algorithms to obtain all eligible programs to [a, b] in the form of output.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
粤玲/Debug/Stamp.exe
粤玲/Debug/Stamp.ilk
粤玲/Debug/Stamp.obj
粤玲/Debug/Stamp.pch
粤玲/Debug/Stamp.pdb
粤玲/Debug/vc60.idb
粤玲/Debug/vc60.pdb
粤玲/Stamp.cpp
粤玲/Stamp.dsp
粤玲/Stamp.dsw
粤玲/Stamp.ncb
粤玲/Stamp.opt
粤玲/Stamp.plg
粤玲/stampin.txt
粤玲/stampout.txt
粤玲/Debug
粤玲
粤玲/Debug/Stamp.ilk
粤玲/Debug/Stamp.obj
粤玲/Debug/Stamp.pch
粤玲/Debug/Stamp.pdb
粤玲/Debug/vc60.idb
粤玲/Debug/vc60.pdb
粤玲/Stamp.cpp
粤玲/Stamp.dsp
粤玲/Stamp.dsw
粤玲/Stamp.ncb
粤玲/Stamp.opt
粤玲/Stamp.plg
粤玲/stampin.txt
粤玲/stampout.txt
粤玲/Debug
粤玲
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.