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

连续邮资问题

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

代码说明:

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

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

发表评论

0 个回复

  • musicplayer
    使用stm32f103读sd卡的文件系统中的音乐文件,并解析播放的程序。(STM32F103 is used to read the music files in the file system of SD card and parse the playing program.)
    2020-06-21 10:20:01下载
    积分:1
  • AI_dll
    基于研华PCI-1710HG数据采集卡基于动态链接库的模拟量输入程序。用VC++6.0MFC实现。程序功能实现实时模式量值显示,绘制历史曲线及上下限报警指示。(Advantech PCI-1710HG-based data acquisition card is based on the dynamic link library analog input program. With VC++6.0MFC implementation. Program features to achieve real-time mode values ​ ​ displayed and plotted historical curve and lower limit alarm indication.)
    2021-03-08 21:09:28下载
    积分:1
  • 蓝牙传输代码
    Android上蓝牙4.0开发的例子,网上目前能找到的一点代码比较难懂,这个进行了简化,参照Android 的API说明很容易理解。
    2022-01-26 00:20:34下载
    积分:1
  • 编译原理中的语法分析程序,用来识别相关表示符。
    编译原理中的语法分析程序,用来识别相关表示符。-compiler theory of syntax analysis procedures used to identify relevant Fu said.
    2023-08-03 02:40:02下载
    积分:1
  • C# 三层架构示例
    三层架构示例程序,可供有需要的人参考    
    2022-01-25 19:15:43下载
    积分:1
  • love
    计算空间几何距离的MATLAB计算机算法(Spatial geometric distance calculation algorithm MATLAB computer)
    2013-07-21 18:33:18下载
    积分:1
  • shurufa_moni
    通过VC++实现输入法的简单原理,从而让初学者了解输入法编程的含义。(By the simple principle of VC++ input method, allowing beginners to understand the meaning of the input method programming.)
    2012-09-16 01:54:49下载
    积分:1
  • stone
    说明:  经典的石子划分问题,不同质量和数量的石子进行划分,以求最优解(Classic stone division, different quality and quantity of stones to be divided, with a view to the optimal solution)
    2010-04-19 23:46:51下载
    积分:1
  • close_loop
    伺服电机,闭环控制。包括DSP28335的系统初始化,AD的初始化,速度、位置的计算等(server motor,close-loop controller.it includes the inition of DSP 28335,inition steps of ad programe and the process of motor s speed and postion calcult. )
    2014-04-01 22:53:11下载
    积分:1
  • highpas
    This is a matlab ea, implements a high pass filter
    2012-02-10 18:11:03下载
    积分:1
  • 696518资源总数
  • 105895会员总数
  • 18今日下载