keep it simple, stupid

导航

2011年9月15日 #

大数相乘

摘要: #include <stdio.h>#include <assert.h>void BigNumMultiply(const char *str1, const char *str2, char *product){ assert(str1 != NULL && str2 != NULL && product != NULL); int i, j; int len1 = (int)strlen(str1); int len2 = (int)strlen(str2); int *dest = (int*)malloc(sizeof(int) 阅读全文

posted @ 2011-09-15 17:17 tujiaw 阅读(165) 评论(0) 推荐(0)