正整數(shù)x 的約數(shù)是能整除x 的正整數(shù)。正整數(shù)x 的約數(shù)個數(shù)記為div(x)。例如,1,2,5,10 都是正整數(shù)10 的約數(shù),且div(10)=4。設(shè)a 和b 是2 個正整數(shù),a≤b,找出a 和b之間約數(shù)個數(shù)最多的數(shù)x。 對于給定的2 個正整數(shù)a≤b,編程計算a 和b 之間約數(shù)個數(shù)最多的數(shù)。 數(shù)據(jù)輸入 輸入數(shù)據(jù)由文件名為input.txt的文本文件提供。文件的第1 行有2 個正整數(shù)a和b。 結(jié)果輸出 程序運行結(jié)束時,若找到的a 和b 之間約數(shù)個數(shù)最多的數(shù)是x,將div(x)輸出到文件output.txt中。 輸入文件示例 輸出文件示例 input.txt output.txt 1 36 9
上傳時間: 2016-10-10
上傳用戶:dianxin61
加亮文本框 Lightbox v2.0 uses the Prototype Framework and Scriptaculous Effects Library. You will need to include these three Javascript files in your header.
標(biāo)簽: Scriptaculous Framework Prototype Lightbox
上傳時間: 2014-11-18
上傳用戶:小儒尼尼奧
Export a vertices/faces patch to an STL triangular mesh.This is based heavily on Bill McDonald s previous work, simply enabling his output functions for a different form of input.
標(biāo)簽: triangular vertices McDonald heavily
上傳時間: 2014-01-12
上傳用戶:lindor
給定正整數(shù)n,計算出n個元素的集合{1,2,?,n}可以劃分為多少個不同的非空子集。 由文件input.txt提供輸入數(shù)據(jù)。文件的第1 行是元素個數(shù)n。
上傳時間: 2014-07-19
上傳用戶:WMC_geophy
The MAX481E, MAX483E, MAX485E, MAX487E–MAX491E, and MAX1487E are low-power transceivers for RS-485 and RS-422 communications in harsh environments. Each driver output and receiver input is protected against ±15kV electrostatic discharge (ESD) shocks, without latchup. These parts contain one driver and one receiver. The MAX483E, MAX487E, MAX488E, and MAX489E feature reduced slewrate drivers that minimize EMI and reduce reflections caused by improperly terminated cables, thus allowing error-free data transmission up to 250kbps. The driver slew rates of the MAX481E, MAX485E, MAX490E, MAX491E, and MAX1487E are not limited, allowing them to transmit up to 2.5Mbps.
標(biāo)簽: MAX transceivers 485 low-power
上傳時間: 2013-12-22
上傳用戶:小寶愛考拉
A few short years ago, the applications for video were somewhat confined—analog was used for broadcast and cable television, VCRs, set-top boxes, televisions and camcorders. Since then, there has been a tremendous and rapid conversion to digital video, mostly based on the MPEG-2 video compression standard. Today, in addition to the legacy DV, MPEG-1 and MPEG-2 audio and video com- pression standards, there are three new high- performance video compression standards. These new video codecs offer much higher video compression for a given level of video quality.
標(biāo)簽: applications for confined somewhat
上傳時間: 2016-10-29
上傳用戶:bjgaofei
數(shù)據(jù)加密程序 p macro buf lea dx,buf mov ah,9 int 21h endm data segment pp db 0dh,0ah, welcome you to run this programme!$ qq db 0dh,0ah, when you input number,press enter.$ qw db 0dh,0ah, 6eh,52h,94h,52h,$ qa db 0dh,0ah, $ info1 db 0dh,0ah,0dh, input number:$ info2 db 0dh,0ah, output number:$ bufa db 20
標(biāo)簽: buf segment welcome macro
上傳時間: 2013-12-24
上傳用戶:離殤
Linux2.6內(nèi)核驅(qū)動實例包: globalmem驅(qū)動、含并發(fā)控制的globalmem驅(qū)動、globalfifo驅(qū)動、poll應(yīng)用程序范例、異步通知應(yīng)用程序范例、支持異步通知的globalfifo、 S3C2410實時鐘驅(qū)動、秒設(shè)備驅(qū)動與應(yīng)用程序、DMA范例、靜態(tài)映射范例、作為input設(shè)備觸摸屏驅(qū)動、 作為普通字符設(shè)備觸摸屏驅(qū)動、看門狗驅(qū)動、平臺設(shè)備、S3C2410串口驅(qū)動、S3C2410 I2C主機驅(qū)動、 SAA711x I2C設(shè)備驅(qū)動、CS8900以太網(wǎng)設(shè)備驅(qū)動、S3C2410 LCD驅(qū)動、FRAMEBUFFER應(yīng)用程序范例
標(biāo)簽: globalfifo globalmem Linux 驅(qū)動
上傳時間: 2014-01-14
上傳用戶:czl10052678
一篇關(guān)于TCP-Vegas的文獻:Vegas is an implementation of TCP that achieves between 37 and 71% better throughput on the Internet, with onefifth to one-half the losses, as compared to the implementation of TCP in the Reno distribution of BSD Unix. This paper motivates and describes the three key techniques employed by Vegas, and presents the results of a comprehensive experimental performance study—using both simulations and measurements on the Internet—of the Vegas and Reno implementations of TCP.
標(biāo)簽: implementation TCP-Vegas throughpu achieves
上傳時間: 2014-01-08
上傳用戶:lwwhust
16點FFT VHDL源程序,The xFFT16 fast Fourier transform (FFT) Core computes a 16-point complex FFT. The input data is a vector of 16 complex values represented as 16-bit 2’s complement numbers – 16-bits for each of the real and imaginary component of a datum.
上傳時間: 2013-12-20
上傳用戶:yph853211
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1