2015年7月12日
摘要: //麦森数#include#include#include#define LEN 125void Multiply(int *a,int *b){ int i,j; int nCarry; int nTmp; int c[LEN]; memset(c,0,sizeof(int)*LEN); fo... 阅读全文
posted @ 2015-07-12 21:46 _noname 阅读(117) 评论(0) 推荐(0) 编辑
摘要: //大整数除法#include#include#define MAX_LEN 200char szLine1[MAX_LEN+10];char szLine2[MAX_LEN+10];int an1[MAX_LEN+10];int an2[MAX_LEN+10];int aResult[MAX_... 阅读全文
posted @ 2015-07-12 19:48 _noname 阅读(213) 评论(0) 推荐(0) 编辑
摘要: //大整数乘法#include#include#define MAX_LEN 200unsigned an1[MAX_LEN+10];unsigned an2[MAX_LEN+10];unsigned aResult[MAX_LEN*2+10];char szLine1[MAX_LEN+10];... 阅读全文
posted @ 2015-07-12 14:43 _noname 阅读(127) 评论(0) 推荐(0) 编辑