登录
首页 » c++ » 连续邮资问题

连续邮资问题

于 2022-04-30 发布 文件大小:639.54 kB
0 95
下载积分: 2 下载次数: 1

代码说明:

假设国家发行了n种不同面值的邮票,并且规定每张信封上最多只允许贴m张邮票。连续邮资问题要求对于给定的n和m的值,给出邮票面值的最佳设计,在1张信封上可贴出从邮资1开始,增量为1的最大连续邮资区间。例如,当n=5和m=4时,面值为(1,3,11,15,32)的5种邮票可以贴出邮资的最大连续邮资区间是1到70。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • matlab
    总结了最基本和最常用的mattlab源码,很实用(Summarizes the most basic and most common mattlab source, it is practical)
    2014-02-07 16:17:04下载
    积分:1
  • ktraregy__lock
    用高级语言编写和调试一个简单的文件系统,模拟文件管理的工作过程,(Written in a high-level language, and debug a simple file system, simulated the process of file management,)
    2017-04-14 18:10:46下载
    积分:1
  • RT-PID
    PID-REGULATOR FUNCTION "C" SOURCE CODE
    2008-10-05 00:55:10下载
    积分:1
  • WTLButtonST
    说明:  用的是WTL, 不是 MFC的,代码够精简 !(using the WTL, not MFC, code streamlined enough!)
    2006-04-11 15:39:33下载
    积分:1
  • simulator
    Computer network RDT simulation experiment
    2018-06-07 21:43:22下载
    积分:1
  • hkdpglxxxt
    c++做的航空订票管理系统,能实现订票和查询等一般功能。(c++ do airline reservation management system, general function bookings and inquiries.)
    2012-05-24 07:29:29下载
    积分:1
  • GPS-position
    c#实现基本的GPS定位功能,包含读取和写入GPS串口的源码。(c# GPS positioning function, source.)
    2012-09-24 16:50:42下载
    积分:1
  • 数据结构(C语言版)
    该书籍详细讲述了C语言的数据结构部分,不断提高你的编程能力。(This book describes the data structure of C language in detail, and constantly improves your programming ability.)
    2020-06-22 07:00:01下载
    积分:1
  • WindowsApplication_Example
    VSharp学习软件源代码WindowsApplication_Example示例程序(VSharp learning software WindowsApplication_Example sample application source code)
    2007-10-08 11:07:11下载
    积分:1
  • WPF-PopupWindow
    wpf右下角弹出框,通过按钮调用,类似QQ弹出框(wpf lower right corner of the pop-up box)
    2013-07-24 19:12:32下载
    积分:1
  • 696518资源总数
  • 106208会员总数
  • 21今日下载