乘法也完了························
#include<stdio.h>
#include<string.h>
char s[1000];
int a[1000]={0};
int main()
{
int l,i,t;
scanf("%s",s);
scanf("%d",&t);
l=strlen(s);
for(i=0;i<=l-1;i++)
{
a[l-1-i]=s[i]-'0';
}
for(i=0;i<=l-1;i++)
a[i]=a[i]*t;
for(i=0;i<=l-1;i++)
{ if(a[i]>=10)
{
a[i+1]=a[i+1]+a[i]/10;
a[i]=a[i] % 10;
}
}
while(a[l]>=10)
{
a[l+1]=a[l+1]+a[l]/10;
a[l]=a[l] % 10;
l++;
}
for(i=l;i>=0;i--)
printf("%d",a[i]);
}