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_21593190_13169.cpp:18:22: error: stray '#' in program
         else x=a[i]-'0';
                      ^
0_0_21593190_13169.cpp:18:28: error: stray '#' in program
         else x=a[i]-'0';
                            ^
0_0_21593190_13169.cpp:20:22: error: stray '#' in program
         else y=b[j]-'0';
                      ^
0_0_21593190_13169.cpp:20:28: error: stray '#' in program
         else y=b[j]-'0';
                            ^
0_0_21593190_13169.cpp:22:25: error: stray '#' in program
         temp[k++]=z%10+'0';
                         ^
0_0_21593190_13169.cpp:22:31: error: stray '#' in program
         temp[k++]=z%10+'0';
                               ^
0_0_21593190_13169.cpp:27:32: error: stray '#' in program
     if(carry) temp[k++]=carry+'0';//别忘了这个进位
                                ^
0_0_21593190_13169.cpp:27:38: error: stray '#' in program
     if(carry) temp[k++]=carry+'0';//别忘了这个进位
                                      ^
0_0_21593190_13169.cpp:51:22: error: stray '#' in program
         int id=s[i]-'0';
                      ^
0_0_21593190_13169.cpp:51:28: error: stray '#' in program
         int id=s[i]-'0';
                            ^
0_0_21593190_13169.cpp:69:22: error: stray '#' in program
         int id=s[i]-'0';
                      ^
0_0_21593190_13169.cpp:69:28: error: stray '#' in program
         int id=s[i]-'0';
                            ^
0_0_21593190_13169.cpp:84:16: error: stray '#' in program
     str[0][0]='1';
                ^
0_0_21593190_13169.cpp:84:22: error: stray '#' in program
     str[0][0]='1';
                      ^
0_0_21593190_13169.cpp:87:16: error: stray '#' in program
     str[1][0]='1';
                ^
0_0_21593190_13169.cpp:87:22: error: stray '#' in program
     str[1][0]='1';
                      ^
0_0_21593190_13169.cpp: In function 'void add(char*, char*, char*)':
0_0_21593190_13169.cpp:18:23: error: lvalue required as unary '&' operand
         else x=a[i]-'0';
                       ^
0_0_21593190_13169.cpp:20:23: error: lvalue required as unary '&' operand
         else y=b[j]-'0';
                       ^
0_0_21593190_13169.cpp:22:26: error: lvalue required as unary '&' operand
         temp[k++]=z%10+'0';
                          ^
0_0_21593190_13169.cpp:27:33: error: lvalue required as unary '&' operand
     if(carry) temp[k++]=carry+'0';//别忘了这个进位
                                 ^
0_0_21593190_13169.cpp: In function 'void insert(char*, int)':
0_0_21593190_13169.cpp:51:23: error: lvalue required as unary '&' operand
         int id=s[i]-'0';
                       ^
0_0_21593190_13169.cpp: In function 'int find(char*)':
0_0_21593190_13169.cpp:69:23: error: lvalue required as unary '&' operand
         int id=s[i]-'0';
                       ^
0_0_21593190_13169.cpp: In function 'int main()':
0_0_21593190_13169.cpp:84:17: error: lvalue required as unary '&' operand
     str[0][0]='1';
                 ^
0_0_21593190_13169.cpp:87:17: error: lvalue required as unary '&' operand
     str[1][0]='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-26 09:46:22, Gzip enabled