搜索资源列表
num.cpp
- 数论mod有关算法 丢翻图方程 线性同余方程解 原始根 gcd exgcd 中国剩余定理 需要高精度库gmpc-gcd exgcd diophantic equation linear congruence Chinese reminder square root primitive root
013
- 通过字符串操作模拟控制台的cd命令,要求至少完成 “cd 【目录名】”、“cd ..” 和“cd \” 三个命令。实例可以参考:开始->运行->cmd->键入上述三个命令观察提示符前的字符串变化,帮助可通过cd /?显示;可使用字符串处理函数。并用此程序练习和熟悉调试过程。 实验014:重写实验007和012,要求使用函数IsPrime实现判断一个数是否是素数,GCD返回两个数的最大公约数,LCM返回两个数的最小公倍数,并在main中调用。-Through the stri
two-pgm.tar
- This a program which performs GCD of two numbers written in c-This is a program which performs GCD of two numbers written in c
mycode
- hdu 1695 GCD (增加点字符)-hdu 1695 GCD (increased dot character)
lab2
- 定义一个分数类,用两个整数数据成员表示分数的分子和分母,成员函数包括求两个整数的最大公约数gcd()和最小公倍数lcm()的函数,再定义构造函数、获取分数、打印分数、实现分数四则运算的成员函数。 计算结果仍用分数表示并调用gcd(),lcm()成员函数化简-Define a fraction of class, with two integer data members of the numerator and denominator of the fraction, member functi
GCD_LSB
- GCD and LSB algorithm.
front
- java写的类pascal编译器,实现program test(input, output) begin read(x, y) write(gcd(x, y)) end. -java pascal compiler writing class, to achieve program test (input, output) begin read (x, y) write (gcd (x, y)) end.
gcd3
- 用verilog代码编写的GCD即找两个数之间的最大公约数的FPGA工程。-Verilog code written with the GCD of two numbers that find the common denominator between the FPGA project.
GCDSUM
- solution for sum of gcd
GCD
- Greatest Common Divisor Logic Circuit
gcd_performence
- 基于流水线设计的性能优先的gcd算法的verilog 代码 频率可达500M-based pipeline design gcd for high clock
GCD
- 一个很简单的计算两数最大公约数的java程序,希望对大家有帮助-A very simple calculation greatest common divisor of two numbers java program, we hope to help
GCD1
- GCD算法的FSMD实现。即利用有限状态机和数据路径-GCD algorithm order which FSMD using finite state machine and data path
gcd2
- GCD算法的FSM+D实现。即利用有限状态机和数据路径分开-GCD algorithm of the FSM + D realize it is using finite state machine and data path separate
main.cpp_1
- This program calculate if two numbers are coprimes For given integer N (1<=N<=10^4) find amout of positive numbers not greater than N that coprime with N. Let us call two positive integers (say, A and B, for example) coprime if (and only
GCD_Clac
- A VHDL code to calculate GCD of two four bits binary numbers.
GCD_Verilog
- 利用Verilog语言写的采用更相减运算的球两个数的最大公约数-Using Verilog language written using a subtraction ball number two of the greatest common divisor
gcd.cpp.tar
- SystemC Sourcode to get the Greatest Common Divisor out of two numbers.
Networked-Physics-Demo---GDC-2010
- gcd的使用,物理引擎的使用,ios网络编程-networked physics demo- gcd
extended-euclid
- 经典的Extended-Euclid算法,计算GCD-implement Extended-Euclid