题目描述:输入两个很大的正数(用C字符串表示),输出它们的乘积,假设不考虑非法输入。
C++代码实现:
#include<iostream>
#include<assert.h>
#include<string.h>
using namespace std;
void multiply(const char *a,const char *b){
assert(a != NULL && b != NULL);
int i,j,ca,cb,*s;
ca = strlen(a);
cb = strlen(b);
s = (int *