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_21595086_25324.cpp:31:27: error: stray '#' in program
         index = str[i] - 'A';
                           ^
0_0_21595086_25324.cpp:31:33: error: stray '#' in program
         index = str[i] - 'A';
                                 ^
0_0_21595086_25324.cpp:86:30: error: stray '#' in program
         int index = str[i] -'A';
                              ^
0_0_21595086_25324.cpp:86:36: error: stray '#' in program
         int index = str[i] -'A';
                                    ^
0_0_21595086_25324.cpp: In function 'void insert(Node*, int, char*)':
0_0_21595086_25324.cpp:31:28: error: lvalue required as unary '&' operand
         index = str[i] - 'A';
                            ^
0_0_21595086_25324.cpp:31:31: error: 'A' was not declared in this scope
         index = str[i] - 'A';
                               ^
0_0_21595086_25324.cpp: In function 'void query(Node*)':
0_0_21595086_25324.cpp:86:31: error: lvalue required as unary '&' operand
         int index = str[i] -'A';
                               ^
0_0_21595086_25324.cpp:86:34: error: 'A' was not declared in this scope
         int index = str[i] -'A';
                                  ^


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-26 20:39:04, Gzip enabled