已知:Sn= 1+1/2+1/3+…+1/n。显然对于任意一个整数K,当n足够大的时候,Sn大于K。 现给出一个整数K(1<=k<=15),要求计算出一个最小的n;使得Sn>K。 Input 键盘输入 k Output 屏幕输出 n Sample Input 1 Sample Output 2 Source
上传时间: 2014-01-25
上传用户:ruixue198909
IBM Websphere MQ Workflow 工作流开发示例 2.0.1
上传时间: 2014-11-23
上传用户:zsjinju
这是一个测试液晶显示的程序,测试LCD的亮灭.硬件连接如下: 3脚接偏置电阻,接个10K的可调,.RS4,RW5,E6脚接P3^3,P3^2,P3^1,程序头部有定义可根据实际修改
上传时间: 2015-12-23
上传用户:songnanhua
向数组中输入8、7、6、5、4、3、2、1,对其任一元素都进行1+2+……+N计算,并将结果存入RESULT数组中,结果在屏幕上,按十进制显示出来。
上传时间: 2016-03-12
上传用户:thesk123
linux0.11内核完全注释(修正版2.0.1,2007年6月)
上传时间: 2014-08-24
上传用户:15071087253
Linux support for Philips USB webcams halted Latest version: pwc-9.0.2.tar.gz (including documents) | pwcx-9.0.tar.gz
标签: documents including support Philips
上传时间: 2016-03-25
上传用户:youke111
(五)测试数据:n=0 n=-1 n=2 a 1 2 a 2 3 a 3 4 d 3 5 n=2 a 1 5 a 2 10 d 1 15 a 3 20 a 4 25 a 5 30 d 2 35 d 4 40 e 0 0 (六)测试结果:error error 没付钱,没停就走了 第一辆车付50元 第二辆车付125元 第三辆车没出来 第四辆车付25元 第五辆车没进入
上传时间: 2014-02-08
上传用户:wfeel
《SOPC系统设计入门教程》 前言 目录 第一章 概述 1.1 SOPC的概念 1.2 SOPC系统设计流程 1.2.1 SOPC Builder的设计流程 1.2.2 SOPC Builder的设计阶段 1.2.3 SOPC系统开发流程 1.3 SOPC系统开发环境 1.4 本书中的系统配置
上传时间: 2016-04-06
上传用户:13681659100
富士通单片机MB902420系列The internal LCD-cotroller will be initialised (1/2 bias, 1/2 duty). The internal Resistor devider is used. Some different methods are shown, how segments can be swicthed on/off.
标签: internal LCD-cotroller initialised The
上传时间: 2016-04-27
上传用户:270189020
ISO mp3 sources (distribution 10) Layer 1/2/3, C Source, 512 k Sources of the Mpeg 1,2 layer 1,2,3 audio encoder and decoder distributed by the ISO group in charge of the MPEG.
标签: distribution Sources sources Source
上传时间: 2013-12-24
上传用户:来茴