正整数x 的约数是能整除x 的正整数。正整数x 的约数个数记为div(x)。例如,1,2,5,10 都是正整数10 的约数,且div(10)=4。设a 和b 是2 个正整数,a≤b,找出a 和b之间约数个数最多的数x。 对于给定的2 个正整数a≤b,编程计算a 和b 之间约数个数最多的数。 数据输入 输入数据由文件名为input.txt的文本文件提供。文件的第1 行有2 个正整数a和b。 结果输出 程序运行结束时,若找到的a 和b 之间约数个数最多的数是x,将div(x)输出到文件output.txt中。 输入文件示例 输出文件示例 input.txt output.txt 1 36 9
上传时间: 2016-10-10
上传用户:dianxin61
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.
标签: triangular vertices McDonald heavily
上传时间: 2014-01-12
上传用户:lindor
本装置是一个以HT46R71D 为主芯片,配合传感器组成的汽车轮胎气压检测装 置,最终取高三位有效值于LCD 显示,有四种显示单位供切换(Psi、Bar、Kpa、 Kgf/cm2)。本装置仅为参考范例,使用时,为提高准确度,建议多量测些组数 据来构建Sensor Output Voltage - Discharge Time (V-T)表格,并作相应校准。
上传时间: 2014-01-14
上传用户:cxl274287265
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.
标签: MAX transceivers 485 low-power
上传时间: 2013-12-22
上传用户:小宝爱考拉
数据加密程序 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
上传时间: 2013-12-24
上传用户:离殇
Snefru is a cryptographic hash function invented by Ralph Merkle which supports 128-bit and 256-bit output.
标签: cryptographic bit function invented
上传时间: 2014-01-13
上传用户:wang0123456789
Top module name : SHIFTER (File name : SHIFTER.v) 2. Input pins: SHIFT [3:0], IN [15:0], SIGN, RIGHT. 3. Output pins: OUT [15:0]. 4. Input signals generated from test pattern are latched in one cycle and are synchronized at clock rising edge. 5. The SHIFT signal describes the shift number. The shift range is 0 to 15. 6. When the signal RIGHT is high, it shifts input data to right. On the other hand, it shifts input data to left. 7. When the signal SIGN is high, the input data is a signed number and it shifts with sign extension. However, the input data is an unsigned number if the signal SIGN is low. 8. You can only use following gates in Table I and need to include the delay information (Tplh, Tphl) in your design.
上传时间: 2013-12-13
上传用户:himbly
Top module name : SHIFTER (File name : SHIFTER.v) 2. Input pins: SHIFT [3:0], IN [15:0], SIGN, RIGHT. 3. Output pins: OUT [15:0]. 4. Input signals generated from test pattern are latched in one cycle and are synchronized at clock rising edge. 5. The SHIFT signal describes the shift number. The shift range is 0 to 15. 6. When the signal RIGHT is high, it shifts input data to right. On the other hand, it shifts input data to left. 7. When the signal SIGN is high, the input data is a signed number and it shifts with sign extension. However, the input data is an unsigned number if the signal SIGN is low. 8. You can only use following gates in Table I and need to include the delay information (Tplh, Tphl) in your design.
上传时间: 2014-01-20
上传用户:三人用菜
a Java program that reads in the following values from the standard input device (i.e. Keyboard) and writes its result on the standard output device (i.e. Console/Monitor): Inputs: A: the loan amount in dollars and cents (e.g. 150000.00). r: the net annual interest rate, expressed as an integer (e.g. 10 which means 10%) Y: the number of whole remaining years (for repayment) M: the number of remaining months Output: The program should calculate and output the amount of monthly repayments in dollars and cents as single value (e.g. $840.55)
标签: i.e. following the Keyboard
上传时间: 2013-12-15
上传用户:米卡
Produce Java classes to calculate and display the Poisson probability when input the value of the average (A) arrival rate of customers at some business in the range of 1 to 10. The error message will output when A is out of the range。
标签: the probability calculate Produce
上传时间: 2014-01-10
上传用户:moerwang