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_37415937_31487.cpp:12:1: error: stray '\241' in program
 cout<<" "<<"+"<<Ħħ ";for(k=o;k<strlenB;k++)
 ^
0_0_37415937_31487.cpp:12:1: error: stray '\261' in program
0_0_37415937_31487.cpp:12:1: error: missing terminating " character
0_0_37415937_31487.cpp:14:1: error: stray '\241' in program
 cout<<" "<<"="<<Ħħ";
 ^
0_0_37415937_31487.cpp:14:1: error: stray '\261' in program
0_0_37415937_31487.cpp:14:1: error: missing terminating " character
0_0_37415937_31487.cpp: In function 'int main()':
0_0_37415937_31487.cpp:7:8: error: 'o' was not declared in this scope
 for( i=o; i<t;i++){
        ^
0_0_37415937_31487.cpp:15:1: error: expected primary-expression before 'int'
 int max=strlenA>strlenB?strlenA : strlenB;int a[max];
 ^
0_0_37415937_31487.cpp:15:52: error: size of array 'a' has non-integral type '<unresolved overloaded function type>'
 int max=strlenA>strlenB?strlenA : strlenB;int a[max];
                                                    ^
0_0_37415937_31487.cpp:16:10: error: size of array 'b' has non-integral type '<unresolved overloaded function type>'
 int b[max];
          ^
0_0_37415937_31487.cpp:17:12: error: invalid operands of types '<unresolved overloaded function type>' and 'int' to binary 'operator+'
 int c[ max+1];
            ^
0_0_37415937_31487.cpp:18:11: error: invalid operands of types '<unresolved overloaded function type>' and 'int' to binary 'operator+'
 for(k=max+1;k>o;k--){
           ^
0_0_37415937_31487.cpp:19:1: error: 'c' was not declared in this scope
 c[k-1]=o;
 ^
0_0_37415937_31487.cpp:21:7: error: cannot resolve overloaded function 'max' based on conversion to type 'int'
 for( k=max;k>0;k--){
       ^
0_0_37415937_31487.cpp:26:8: error: 'O' was not declared in this scope
 b[k-1]=O;strlenA--;strlenB--;
        ^
0_0_37415937_31487.cpp:28:12: error: invalid operands of types '<unresolved overloaded function type>' and 'int' to binary 'operator+'
 for( k=max+1;k>1;k--){
            ^
0_0_37415937_31487.cpp:29:1: error: 'c' was not declared in this scope
 c[k-1]+=(a[ k-2]+b[ k-2]);if(c[k-1]>9){
 ^
0_0_37415937_31487.cpp:33:4: error: 'c' was not declared in this scope
 if(c[0]!=O)
    ^
0_0_37415937_31487.cpp:33:10: error: 'O' was not declared in this scope
 if(c[0]!=O)
          ^
0_0_37415937_31487.cpp:35:15: error: invalid operands of types '<unresolved overloaded function type>' and 'int' to binary 'operator+'
 for(k=1;k<max+1;k++)
               ^
0_0_37415937_31487.cpp:36:7: error: 'c' was not declared in this scope
 cout<<c[ k];
       ^


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-10-07 01:30:04, Gzip enabled