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_21599420_25301.cpp:27:19: error: stray '#' in program
         id=s2[i]-'a';
                   ^
0_0_21599420_25301.cpp:27:25: error: stray '#' in program
         id=s2[i]-'a';
                         ^
0_0_21599420_25301.cpp:45:19: error: stray '#' in program
         id=s1[i]-'a';
                   ^
0_0_21599420_25301.cpp:45:25: error: stray '#' in program
         id=s1[i]-'a';
                         ^
0_0_21599420_25301.cpp:80:27: error: stray '#' in program
             while(s1[i]>='a'&&s1[i]<='z')
                           ^
0_0_21599420_25301.cpp:80:33: error: stray '#' in program
             while(s1[i]>='a'&&s1[i]<='z')
                                 ^
0_0_21599420_25301.cpp:80:47: error: stray '#' in program
             while(s1[i]>='a'&&s1[i]<='z')
                                               ^
0_0_21599420_25301.cpp:80:53: error: stray '#' in program
             while(s1[i]>='a'&&s1[i]<='z')
                                                     ^
0_0_21599420_25301.cpp:84:20: error: stray '#' in program
             s2[s]='\0';
                    ^
0_0_21599420_25301.cpp:84:13: error: stray '\' in program
             s2[s]='\0';
             ^
0_0_21599420_25301.cpp:84:27: error: stray '#' in program
             s2[s]='\0';
                           ^
0_0_21599420_25301.cpp: In function 'void tree_add(char*, char*)':
0_0_21599420_25301.cpp:27:20: error: lvalue required as unary '&' operand
         id=s2[i]-'a';
                    ^
0_0_21599420_25301.cpp:27:23: error: 'a' was not declared in this scope
         id=s2[i]-'a';
                       ^
0_0_21599420_25301.cpp: In function 'int tree_search(char*)':
0_0_21599420_25301.cpp:45:20: error: lvalue required as unary '&' operand
         id=s1[i]-'a';
                    ^
0_0_21599420_25301.cpp:45:23: error: 'a' was not declared in this scope
         id=s1[i]-'a';
                       ^
0_0_21599420_25301.cpp: In function 'int main()':
0_0_21599420_25301.cpp:80:28: error: lvalue required as unary '&' operand
             while(s1[i]>='a'&&s1[i]<='z')
                            ^
0_0_21599420_25301.cpp:80:30: error: expected ')' before ';' token
             while(s1[i]>='a'&&s1[i]<='z')
                              ^
0_0_21599420_25301.cpp:80:31: error: 'a' was not declared in this scope
             while(s1[i]>='a'&&s1[i]<='z')
                               ^
0_0_21599420_25301.cpp:80:41: error: expected ';' before '[' token
             while(s1[i]>='a'&&s1[i]<='z')
                                         ^
0_0_21599420_25301.cpp:80:51: error: 'z' was not declared in this scope
             while(s1[i]>='a'&&s1[i]<='z')
                                                   ^
0_0_21599420_25301.cpp:80:57: error: expected primary-expression before ')' token
             while(s1[i]>='a'&&s1[i]<='z')
                                                         ^
0_0_21599420_25301.cpp:84:21: error: lvalue required as unary '&' operand
             s2[s]='\0';
                     ^
0_0_21599420_25301.cpp:80:39: error: label 's1' used but not defined
             while(s1[i]>='a'&&s1[i]<='z')
                                       ^


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-06-29 15:33:06, Gzip enabled