/*ID:billat11LANG:CTASK:namenum*/#include#include #include #include #include #include using namespace std;const int Len=402;//int 6int c[Len+1],d[Len+1];int xiao[Len+1],cf=0;void addz(int a[],int b[]) { memset(c,0,sizeof(c)); for(int i=0;i =0;i--) { xiao[i]=a[i]+b[i]; } for(int i=Len;i>0;i--) { xiao[i-1]+=xiao[i]/10; xiao[i]=xiao[i]%10; } cf=xiao[0]/10; xiao[0]=xiao[0]%10; }int cmp(int a[],int b[]){ for(int i=0;i<=Len;i++) { if(a[i]!=b[i]) return (a[i]-b[i])/abs(a[i]-b[i]); } return 0;}void print(int a[]){ int j; for(j=Len;j>0&&!a[j];j--); printf("%d",a[j]); j--; for(;j>=0;j--) printf("%d",a[j]); //cout< =0)&&(a[j]==0);j--); for(i=0;i<=j;i++) printf("%d",a[i]);}int main(){ int n,k; char as[Len+1],bs[Len+1]; int inta[Len+1],intb[Len+1]; while(scanf("%s %s",as,bs)==2) { int i,j,id,jd; int lena=strlen(as); int lenb=strlen(bs); memset(inta,0,sizeof(inta)); memset(intb,0,sizeof(intb)); for(i=0;(i 0) { printf("."); printx(xiao); } cout<