搜索资源列表
BigInteger_src
- C# BigInteger class. BigInteger.cs is a csharp program. It is the BIgInteger class. It has methods: abs() , FermatLittleTest(int confidence) ,gcd(BigInteger bi) , genCoPrime(int bits, Random rand) , genPseudoPrime(int bits, int confidence, Random ran
SecretShare
- 门限算法(又名秘密共享算法)源程序,标准C实现,可直接跨平台移植。其中随机数的产生仅调用了rand()函数,建议实际使用时,修改随机数发生函数,至少前导加入srand( (unsigned)time( NULL -Threshold algorithm (also known as secret sharing algorithm) source, the standard C implementation, can be directly portable across platforms.
C1
- #include "stdlib.h" #include"graphics.h" main() { int gd=DETECT,gr,a[8],b[8],x,y,i,j,c initgraph(&gd,&gr,"") randomize() for( !kbhit() ) { x=rand() 500+100 /*随机中心坐标*/ y=rand() 300+100 a[0]=x /*各点坐标的计算,我的烟花图形没能是圆的*/-#
system
- This function encapsulates whether we re using rand (part of the standard C library) or lrand48.