搜索资源列表
FixMath
- 这是我本人编写的一个32位定点小数运算的函数库。对于没有浮点运算器的场合,可以提供进行小数运算的一种途径-This is my prepared in a 32-bit fixed point decimal computing functions. For no floating point unit occasions, it can provide for fractional arithmetic, as a way to
HugeInt_C++
- 将大数看作一个n进制数组,对于目前的32位系统而言n可以取值为2的32次方,即0x10000000, 假如将一个1024位的大数转化成0x10000000进制,它就变成了32位,而每一位的取值范围就不是0-1 或0-9,而是0-0xffffffff。我们正好可以用一个无符号长整数来表示这一数值。所以1024位的大数 就是一个有32个元素的unsigned long数组。而且0x100000000进制的数组排列与2进制流对于计算机 来说,实际上是一回事,但是我们完全可以针对unsi
3.32
- 将两个随机产生的链表连接,并按从小到大的顺序输出-two randomly generated Chain Link, together with a small to large export order
bignum
- 由于计算机存储的限制,当其所存储的数大于32位时,就会有溢出,该程序只要是实现大数加法 减法 乘法。-computer storage limitations, when it stored more than 32 a few hours, there will be a spillover, The procedure is as long as the majority addition subtraction multiplication.
huffman
- 实现最优二叉树的构造;在此基础上完成哈夫曼编码器与译码器。 假设报文中只会出现如下表所示的字符: 字符 A B C D E F G H I J K L M N 频度 186 64 13 22 32 103 21 15 47 57 1 5 32 20 57 字符 O P Q R S T U V W X Y Z , . 频度 63 15 1 48 51 80 23 8 18 1 16 1 6 2 要求完成的系统应具备如下的功能: 1.初始化。从终端(
improved mergesort
- 这是一个改进了自顶向下的归并排序,它改进的地方主要有:采用小子文件截止的机制,当序列长度小于32时,采用直接插入排序;对归并的内循环作了优化,判断的次数更少。-This is an improvement from a top-down sort of merger, it improved the main : the deadline for the paper boy mechanism, the length of the sequence is less than 32, the us
Haffmancode
- 课程设计: 1.求出在一个n×n的棋盘上,放置n个不能互相捕捉的国际象棋“皇后”的所有布局。 2.设计一个利用哈夫曼算法的编码和译码系统,重复地显示并处理以下项目,直到选择退出为止。 【基本要求】 1) 将权值数据存放在数据文件(文件名为data.txt,位于执行程序的当前目录中) 2) 分别采用动态和静态存储结构 3) 初始化:键盘输入字符集大小n、n个字符和n个权值,建立哈夫曼树; 4) 编码:利用建好的哈夫曼树生成哈夫曼编码; 5) 输出编码; 6)
123456ACM
- ACM POJ上的源码~~1000-3217一共719道题,这是网站http://acm.pku.edu.cn/JudgeOnline/,非常好的C++源码-ACM POJ on the source code ~ ~ 1000-3217 a total of 719 questions, this is the site http://acm.pku.edu.cn/JudgeOnline/, a very good C++ source code ~ ~
3345672Pall_FIR
- DA算法中的使用的查找表模块,本程序先设计查找表,然后设计4*4DA算法模块,之后进行位扩展和字扩展得到32阶滤波器程序.附带4各表,和FIR滤波器序数 -DA,FPGA,LOW FILTER,digital filter
labyrinth
- 使用C++中类的思想以及堆栈的算法,能寻址32*32以内迷宫的路径。-Classes using C++, ideas, and the stack algorithm, can be addressed within 32* 32 maze path.
sort
- 三)排序 (1)插入排序——已知序列{17,18,60,40,7,32,73,65,85} 建立一个顺序表,采用插入排序算法的实现升序排序,打印排序结果; (2)交换排序——已知序列{503,87,512,61,908,170,897,275,652,462} (1)建立一个顺序表,采用冒泡排序法实现升序排序,并打印每趟排序结果; (2)建立一个顺序表,采用快速排序法实现升序排序,并打印每趟排序结果,与(1)做比较; (3)选择排序——已知序列{42,1
16
- 16位循环冗余校验算法 以及 32位循环冗余校验算法 -16-bit cyclic redundancy check algorithm and 32-bit cyclic redundancy check algorithm
BigNum
- 以10^9为进制,每32位存储9个十进制位,大数类-10 ^ 9 as a decimal, each decimal 32-bit 9-bit storage, large numbers class
Expression-of-Value
- xoj上的一道题目,要求输入一连串的四则运算表达式,然后求值,输入的运算数字范围是0-9999,结果在32整形之内。此程序用到了堆栈,涉及知识比较广-xoj on a subject, asked to enter a series of arithmetic expressions, and then find the value, enter the operation number in the range 0-9999, the results within 32 plastic. Th
win
- 问题的提出:某大学开田径运动会,现有12名选手参加100米比赛,对应的运动员号及成绩如表所示,请按照成绩排名并输出,要求每一行输出名次、运动员号及成绩。要求用冒泡法排序。 运动员号 成绩(秒) 运动员号 成绩(秒) 001 13.6 031 14.9 002 14.8 036 12.6 010 12.0 037 13.4 011 12.7 102 12.5 023 15.6 325 15.3 025 13.4 438 12.7 -Of the problem: o
Nhuanghoug
- N皇后问题采用位算法来运算,速度很快,但是最多只适合32个皇后的运算-N queens problem by bit algorithm to compute, very fast, but only for a maximum of 32 Queen s operations
How-c-language-FLOAT-are-represented
- c语言中FLOAT 是如何表示的?尾数,阶码是如何在32位上安排的,即哪几位是 尾数,哪几位是阶码,那一位是符号位。-How c language FLOAT are represented? Mantissa, exponent is how 32-bit on the arrangement, that is what several of the mantissa, which is the order of a few yards, then a is the sign bit.
32-
- 数组线性表插入删除,方便,快捷,程序易懂-Remove the linear array into table
Mergesort
- 对{18,2,20,34,12,32,6,16},采用归并排序(Mergesort),输出每趟的排序结果。-} Of {18,2,20,34,12,32,6,16 using merge sort (Mergesort), output per trip of the results.
32
- 32进制转10进制,输入32进制后自动转换成10进制-32 to 10