虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

Integers

  • verilog code for 8-bit signed Integers....its working

    verilog code for 8-bit signed Integers....its working

    标签: Integers verilog working signed

    上传时间: 2017-03-18

    上传用户:zhichenglu

  • NTL is a high-performance, portable C++ library providing data structures and algorithms for manipul

    NTL is a high-performance, portable C++ library providing data structures and algorithms for manipulating signed, arbitrary length Integers, and for vectors, matrices, and polynomials over the Integers and over finite fields.

    标签: high-performance algorithms structures providing

    上传时间: 2014-01-05

    上传用户:水中浮云

  • ARM下 Implement matrix multiplication of 2 square matrices, with data read from an input file and pri

    ARM下 Implement matrix multiplication of 2 square matrices, with data read from an input file and printed both to the console and to an output file. • Assume a file with correct data (no garbage, characters, etc.). • you must check and provide appropriate execution for 2 extra cases, namely when the matrix size given is either “0” , or when the size is greater than the maximum handled of “5” . In these 2 cases you must implement the following behaviour: o If size = 0, then print a message “Size = 0 is unacceptable” and continue by reading the next size for the next 2 matrices (if not end of file). o If size >5, then print two messages: “Size is too big - unacceptable”. Then read and discard the next (size2 ) Integers and continue by reading the next size for the next 2 matrices (if not end of file).

    标签: multiplication Implement matrices matrix

    上传时间: 2014-08-30

    上传用户:dsgkjgkjg

  • ACM试题An Easy Problem Description As we known, data stored in the computers is in binary form. The

    ACM试题An Easy Problem Description As we known, data stored in the computers is in binary form. The problem we discuss now is about the positive Integers and its binary form. Given a positive integer I, you task is to find out an integer J, which is the minimum integer greater than I, and the number of 1 s in whose binary form is the same as that in the binary form of I. For example, if "78" is given, we can write out its binary form, "1001110". This binary form has 4 1 s. The minimum integer, which is greater than "1001110" and also contains 4 1 s, is "1010011", i.e. "83", so you should output "83".

    标签: Description computers Problem binary

    上传时间: 2013-12-11

    上传用户:libenshu01

  • HDOJ ACM input:The input consists of T test cases. The number of test cases ) (T is given in the fi

    HDOJ ACM input:The input consists of T test cases. The number of test cases ) (T is given in the first line of the input. Each test case begins with a line containing an integer N , 1<=N<=200 , that represents the number of tables to move. Each of the following N lines contains two positive Integers s and t, representing that a table is to move from room number s to room number t (each room number appears at most once in the N lines). From the N+3-rd line, the remaining test cases are listed in the same manner as above.

    标签: input cases test The

    上传时间: 2015-10-18

    上传用户:三人用菜

  • Input The first line of the input contains a single integer T (1 <= T <= 20), the number of t

    Input The first line of the input contains a single integer T (1 <= T <= 20), the number of test cases. Then T cases follow. The first line of each case contains N, and the second line contains N Integers giving the time for each people to cross the river. Each case is preceded by a blank line. There won t be more than 1000 people and nobody takes more than 100 seconds to cross. Output For each test case, print a line containing the total number of seconds required for all the N people to cross the river. Sample Input 1 4 1 2 5 10 Sample Output 17

    标签: the contains integer number

    上传时间: 2015-10-27

    上传用户:plsee

  • Sherwood算法消除最坏实例

    Sherwood算法消除最坏实例,以达到对任何实例都能有好的性能的效果 文件: rd_list.c --> create a random sequence of n Integers not equal to each other list.c --> create a descending sequence of n Integers not equal to each other sherwood.c --> 就是该算法,静态链表的长度默认设为1000,可在宏定义处修改 用法: gcc -o sherwood sherwood.c gcc -o rd_list rd_list.c gcc -o list list.c ./rd_list s.txt 1000 产生一个长度为1000的互不相等的随机序列,保存在s.txt中 ./list s1.txt 1000 产生一个长度为1000的互不相等的降序序列,保存杂s1.txt中 ./sherwood s1.txt 运行算法,比较其中的4个算法的性能差异

    标签: Sherwood 算法

    上传时间: 2016-01-20

    上传用户:ainimao

  • The GNU MP Bignum Library

    The GNU MP Bignum Library,非常好用的大数运算库,GMP is a free library for arbitrary precision arithmetic, operating on signed Integers, rational numbers, and floating point numbers.

    标签: Library Bignum The GNU

    上传时间: 2014-01-08

    上传用户:a673761058

  • 密码学界牛人Victor Shoup用C++编写数论类库。 NTL is a high-performance, portable C++ library providing data struct

    密码学界牛人Victor Shoup用C++编写数论类库。 NTL is a high-performance, portable C++ library providing data structures and algorithms for arbitrary length Integers for vectors, matrices, and polynomials over the Integers and over finite fields and for arbitrary precision floating point arithmetic. NTL provides high quality implementations of state-of-the-art algorithms for: * arbitrary length integer arithmetic and arbitrary precision floating point arithmetic * polynomial arithmetic over the Integers and finite fields including basic arithmetic, polynomial factorization, irreducibility testing, computation of minimal polynomials, traces, norms, and more * lattice basis reduction, including very robust and fast implementations of Schnorr-Euchner, block Korkin-Zolotarev reduction, and the new Schnorr-Horner pruning heuristic for block Korkin-Zolotarev * basic linear algebra over the Integers, finite fields, and arbitrary precision floating point numbers.

    标签: high-performance providing portable library

    上传时间: 2014-01-04

    上传用户:exxxds

  • Shortest Paths with Multiplicative Cost. In a given undirected graph, the path cost is measured as a

    Shortest Paths with Multiplicative Cost. In a given undirected graph, the path cost is measured as a product of all the edges in the path. The weights are rational numbers (e.g., 0.25, 0.75, 3.75 etc) or Integers (2, 3). There are no negative edges. Given such a graph as input, you are to output the shortest path between any two given vertices. Input is the adjacency matrix and the two vertices. You must output the path.

    标签: Multiplicative undirected Shortest measured

    上传时间: 2017-04-08

    上传用户:邶刖