搜索资源列表
BigIntMultiplication
- 大整数乘法例子代码 /* 递归边界,如果是1位二进制数与1位二进制数相乘,则可以直接计算 */ /*累计做1位二进制乘法运算的次数*/ /* return (X*Y) */ /* 计算n的值 */ /* 把X和Y拆分开来,令X=A*2^(n/2)+B, 左移位运算,mod = 1<<(n/2) */ /* 计算XY=AC*2^n+(AD+CB)*2^(n/2)+BD */ /* 计算A*C,再向左移n位 */ /* 递归计算A*D */ /* 递
cctttt
- 输入一组整数存放在数组中,比较并输出其中的最大值和最小值,再将数组元素从小到大排序并输出。-importation of a group integer stored in the array, the more output and the maximum and minimum. then array elements from small to large sequencing and output.
Biginteger
- 实现大整数的加减乘除及堆运算-achieving large integer arithmetic and the Reactor Operators
rr
- 大整数的又一种操作-Big Integer another operation
iproberphp0022
- 主要功能: 1、服务器环境探测:CPU、在线时间、内存使用状况、系统平均负载探测(支持LINUX、FreeBSD系统,需系统支持),操作系统、服务器域名、IP地址、解释引擎等 2、PHP基本特征探测:版本、运行方式、安全模式及常规参数 3、PHP组件支持探测:MYSQL、GD、XML、SESSION、SOCKET等组件支持情况 4、服务器性能检测:整数运算能力、浮点数运算能力、数据IO能力 5、自定义探测:MYSQL连接测试、MAIL发信测试、函数支持情况及PHP配置参数 v0.021 更新:
NumericConverter
- a program that takes in an integer number as an argument and returns its equivalent in the binary and octal formats.-a program that takes in an integer number as an argument and returns its equivalent in the bi nary and octal formats.
javasimpleexample
- java一些例子,包括从键盘接收输入字符串,并将其转换成整数的例子,产生一个随机数的例子-java examples include receiving input from the keyboard strings, and converting it into integer example, Generate a random number of examples, etc.
BigNumberCounter
- 大整数计算器,数据结构里一个很著名的算法,文本计算,也是同学编的。-large integer calculators, data structure, a well-known algorithm, text, as well as classmates series.
plus1122
- 1问题描述: 设计一个实现稀疏多项式乘法的程序 2需求分析: 编程实现两个一元多项式相乘,要求: 2.1输入并建立多项式; 2.2输出多项式,输出形式为整数序列:n,c1,e1,c2,e2``````,cn.,en,其中n是多项式的系数,ci和ei分别是第i项的系数和指数,序列按指数降序排列。 2.3多项式a和b相乘,建立结果多项式a*b -a Problem descr iption : Design a sparse polynomial multiplicat
javacharupaixu
- 在磁盘文件中有10个整数按从小到大的顺序排列。在其中插入一个整数,插入后数据依然有序-disk in a document by the 10 integers from small to large in chronological order. In an integer insert, insert after the data remains orderly
Int_and_byte_conversion_reciprocally
- 整型int和字符数组byte相互转换的源程序:写了一个封装类来实现整型int和字符数组byte相互转换的功能.可以用于网络数据流的程序中,实现数据转换.-integer int array byte characters and the conversion of the source : Packaging was a category to achieve cosmetic int array byte characters and conversion functions. can be
12PerfectNumber
- 接受用户输入的的整数范围,输出这个范围之内的所有完全数。 [完全数是指等于其所有因子之和但不包括该数本身,如6=1X2X3, 6=1+2+3,6是一个完全数]-accept user input integer, the output within the scope of all the complete number. [References are fully equal to the sum of all factors, including but not the number
Partition
- Print out all partitions of a positive integer N. In number theory, a partition of N is a way to write it as a sum of positive integers. Two sums that differ only in the order of their terms are considered the same partition. Example: jav
Integer
- 使用java.lang.Math类,当键盘输入10个整数(0-99),找出它们之中的最大者及最小者,并统计大于50的整数个数。 * 且运用异常处理。(eg: 101, 1a ...)-Use java.lang.Math class, when the keyboard input 10 integer (0-99), the largest of them were identified and the least, and an integer greater than 50 the
all-factors-of-an-integer
- 求一个正整数的所有公约数,已经做了求解,仅供大家参考使用-all factors of an integer has been resloved
integer-factors
- Input an integer, and output all its factors
random-integer-is-a-prime-number
- 判断随机整数是否是素数 产生100个0-999之间的随机整数,然后判断这100个随机整数哪些是素数,哪些不是? -Determine whether random integer is a prime number generator 100 random integer between 0-999, and then determine which 100 random integers which are prime and which are not?
Positive-integer
- 由计算机产生一个正整数n,按以下要求输出结果。-By the computer to generate a positive integer n, the output according to the following requirements.
Integer-sort
- 整数排序,主要针对华为的oj平台上面的一道题目-Integer sort, mainly for Huawei oj platform above a topic
random-integer-number-guess
- 这是一个通过java语言实现的猜数游戏,程序自动产生一个整数,参与者对这个整数进行猜测并输入一个整数。-This program demonstrates a random integer number and asks the user to guess what the number is.