摘要:
#include #include #include #define Max 2000 void multiply(char *a,char *b,char *c) { int i,j,lena,lenb,*s; lena=strlen(a); lenb=strlen(b); s=(int*)malloc(sizeof(int)*(lena+lenb)); ... 阅读全文
摘要:
#include "stdio.h" #include "string.h" /* name:大数加法 author:YouRmyDream */ void sup_addition(char a[],char b[],char c[]) { int c1=strlen(a); int c2=strlen(b); int d,k=0,w=0; int i=c1-1,j=c2-1; whi... 阅读全文