F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_20612516_25247.cpp:11:5: error: expected unqualified-id before '=' token
     =0 && j>=0;i-=3,j-=3){            p=(a[i]-'0')*100+(a[i+1]-'0')*10+a[i+2]-'0';            sum+=hash1[p]*temp;            p=(b[j]-'0')*100+(b[j+1]-'0')*10+b[j+2]-'0';            sum+=hash1[p]*temp;            temp*=10;        }        while(i>=0){            p=(a[i]-'0')*100+(a[i+1]-'0')*10+a[i+2]-'0';            sum+=hash1[p]*temp;            temp*=10;            i-=3;        }        while(j>=0){            p=(b[j]-'0')*100+(b[j+1]-'0')*10+b[j+2]-'0';            sum+=hash1[p]*temp;            temp*=10;            j-=3;        }        printf("%s",a);        while(temp>sum)temp/=10;        while(temp){            printf("%03d",hash2[sum/temp]);            sum=sum%temp;            temp=temp/10;        }        cout<<endl;    }    return 0;}
     ^
0_0_20612516_25247.cpp:11:16: error: 'i' does not name a type
     =0 && j>=0;i-=3,j-=3){            p=(a[i]-'0')*100+(a[i+1]-'0')*10+a[i+2]-'0';            sum+=hash1[p]*temp;            p=(b[j]-'0')*100+(b[j+1]-'0')*10+b[j+2]-'0';            sum+=hash1[p]*temp;            temp*=10;        }        while(i>=0){            p=(a[i]-'0')*100+(a[i+1]-'0')*10+a[i+2]-'0';            sum+=hash1[p]*temp;            temp*=10;            i-=3;        }        while(j>=0){            p=(b[j]-'0')*100+(b[j+1]-'0')*10+b[j+2]-'0';            sum+=hash1[p]*temp;            temp*=10;            j-=3;        }        printf("%s",a);        while(temp>sum)temp/=10;        while(temp){            printf("%03d",hash2[sum/temp]);            sum=sum%temp;            temp=temp/10;        }        cout<<endl;    }    return 0;}
                ^
0_0_20612516_25247.cpp:11:239: error: expected unqualified-id before 'while'
     =0 && j>=0;i-=3,j-=3){            p=(a[i]-'0')*100+(a[i+1]-'0')*10+a[i+2]-'0';            sum+=hash1[p]*temp;            p=(b[j]-'0')*100+(b[j+1]-'0')*10+b[j+2]-'0';            sum+=hash1[p]*temp;            temp*=10;        }        while(i>=0){            p=(a[i]-'0')*100+(a[i+1]-'0')*10+a[i+2]-'0';            sum+=hash1[p]*temp;            temp*=10;            i-=3;        }        while(j>=0){            p=(b[j]-'0')*100+(b[j+1]-'0')*10+b[j+2]-'0';            sum+=hash1[p]*temp;            temp*=10;            j-=3;        }        printf("%s",a);        while(temp>sum)temp/=10;        while(temp){            printf("%03d",hash2[sum/temp]);            sum=sum%temp;            temp=temp/10;        }        cout<<endl;    }    return 0;}
                                                                                                                                                                                                                                               ^
0_0_20612516_25247.cpp:11:393: error: expected unqualified-id before 'while'
     =0 && j>=0;i-=3,j-=3){            p=(a[i]-'0')*100+(a[i+1]-'0')*10+a[i+2]-'0';            sum+=hash1[p]*temp;            p=(b[j]-'0')*100+(b[j+1]-'0')*10+b[j+2]-'0';            sum+=hash1[p]*temp;            temp*=10;        }        while(i>=0){            p=(a[i]-'0')*100+(a[i+1]-'0')*10+a[i+2]-'0';            sum+=hash1[p]*temp;            temp*=10;            i-=3;        }        while(j>=0){            p=(b[j]-'0')*100+(b[j+1]-'0')*10+b[j+2]-'0';            sum+=hash1[p]*temp;            temp*=10;            j-=3;        }        printf("%s",a);        while(temp>sum)temp/=10;        while(temp){            printf("%03d",hash2[sum/temp]);            sum=sum%temp;            temp=temp/10;        }        cout<<endl;    }    return 0;}
                                                                                                                                                                                                                                                                                                                                                                                                         ^
0_0_20612516_25247.cpp:11:553: error: expected constructor, destructor, or type conversion before '(' token
     =0 && j>=0;i-=3,j-=3){            p=(a[i]-'0')*100+(a[i+1]-'0')*10+a[i+2]-'0';            sum+=hash1[p]*temp;            p=(b[j]-'0')*100+(b[j+1]-'0')*10+b[j+2]-'0';            sum+=hash1[p]*temp;            temp*=10;        }        while(i>=0){            p=(a[i]-'0')*100+(a[i+1]-'0')*10+a[i+2]-'0';            sum+=hash1[p]*temp;            temp*=10;            i-=3;        }        while(j>=0){            p=(b[j]-'0')*100+(b[j+1]-'0')*10+b[j+2]-'0';            sum+=hash1[p]*temp;            temp*=10;            j-=3;        }        printf("%s",a);        while(temp>sum)temp/=10;        while(temp){            printf("%03d",hash2[sum/temp]);            sum=sum%temp;            temp=temp/10;        }        cout<<endl;    }    return 0;}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         ^
0_0_20612516_25247.cpp:11:570: error: expected unqualified-id before 'while'
     =0 && j>=0;i-=3,j-=3){            p=(a[i]-'0')*100+(a[i+1]-'0')*10+a[i+2]-'0';            sum+=hash1[p]*temp;            p=(b[j]-'0')*100+(b[j+1]-'0')*10+b[j+2]-'0';            sum+=hash1[p]*temp;            temp*=10;        }        while(i>=0){            p=(a[i]-'0')*100+(a[i+1]-'0')*10+a[i+2]-'0';            sum+=hash1[p]*temp;            temp*=10;            i-=3;        }        while(j>=0){            p=(b[j]-'0')*100+(b[j+1]-'0')*10+b[j+2]-'0';            sum+=hash1[p]*temp;            temp*=10;            j-=3;        }        printf("%s",a);        while(temp>sum)temp/=10;        while(temp){            printf("%03d",hash2[sum/temp]);            sum=sum%temp;            temp=temp/10;        }        cout<<endl;    }    return 0;}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
0_0_20612516_25247.cpp:11:602: error: expected unqualified-id before 'while'
     =0 && j>=0;i-=3,j-=3){            p=(a[i]-'0')*100+(a[i+1]-'0')*10+a[i+2]-'0';            sum+=hash1[p]*temp;            p=(b[j]-'0')*100+(b[j+1]-'0')*10+b[j+2]-'0';            sum+=hash1[p]*temp;            temp*=10;        }        while(i>=0){            p=(a[i]-'0')*100+(a[i+1]-'0')*10+a[i+2]-'0';            sum+=hash1[p]*temp;            temp*=10;            i-=3;        }        while(j>=0){            p=(b[j]-'0')*100+(b[j+1]-'0')*10+b[j+2]-'0';            sum+=hash1[p]*temp;            temp*=10;            j-=3;        }        printf("%s",a);        while(temp>sum)temp/=10;        while(temp){            printf("%03d",hash2[sum/temp]);            sum=sum%temp;            temp=temp/10;        }        cout<<endl;    }    return 0;}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
0_0_20612516_25247.cpp:11:724: error: 'cout' does not name a type
     =0 && j>=0;i-=3,j-=3){            p=(a[i]-'0')*100+(a[i+1]-'0')*10+a[i+2]-'0';            sum+=hash1[p]*temp;            p=(b[j]-'0')*100+(b[j+1]-'0')*10+b[j+2]-'0';            sum+=hash1[p]*temp;            temp*=10;        }        while(i>=0){            p=(a[i]-'0')*100+(a[i+1]-'0')*10+a[i+2]-'0';            sum+=hash1[p]*temp;            temp*=10;            i-=3;        }        while(j>=0){            p=(b[j]-'0')*100+(b[j+1]-'0')*10+b[j+2]-'0';            sum+=hash1[p]*temp;            temp*=10;            j-=3;        }        printf("%s",a);        while(temp>sum)temp/=10;        while(temp){            printf("%03d",hash2[sum/temp]);            sum=sum%temp;            temp=temp/10;        }        cout<<endl;    }    return 0;}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^
0_0_20612516_25247.cpp:11:739: error: expected declaration before '}' token
     =0 && j>=0;i-=3,j-=3){            p=(a[i]-'0')*100+(a[i+1]-'0')*10+a[i+2]-'0';            sum+=hash1[p]*temp;            p=(b[j]-'0')*100+(b[j+1]-'0')*10+b[j+2]-'0';            sum+=hash1[p]*temp;            temp*=10;        }        while(i>=0){            p=(a[i]-'0')*100+(a[i+1]-


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-23 09:58:16, Gzip enabled