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_21589127_8100.cpp:55:13: error: stray '#' in program
         if('A'<=s&&s<='Z')
             ^
0_0_21589127_8100.cpp:55:19: error: stray '#' in program
         if('A'<=s&&s<='Z')
                   ^
0_0_21589127_8100.cpp:55:32: error: stray '#' in program
         if('A'<=s&&s<='Z')
                                ^
0_0_21589127_8100.cpp:55:38: error: stray '#' in program
         if('A'<=s&&s<='Z')
                                      ^
0_0_21589127_8100.cpp:56:23: error: stray '#' in program
             return s-'A'+1;
                       ^
0_0_21589127_8100.cpp:56:29: error: stray '#' in program
             return s-'A'+1;
                             ^
0_0_21589127_8100.cpp: In member function 'int trie::idx(char)':
0_0_21589127_8100.cpp:55:14: error: lvalue required as unary '&' operand
         if('A'<=s&&s<='Z')
              ^
0_0_21589127_8100.cpp:55:16: error: expected ')' before ';' token
         if('A'<=s&&s<='Z')
                ^
0_0_21589127_8100.cpp:55:17: error: 'A' was not declared in this scope
         if('A'<=s&&s<='Z')
                 ^
0_0_21589127_8100.cpp:55:23: error: expected primary-expression before '<=' token
         if('A'<=s&&s<='Z')
                       ^
0_0_21589127_8100.cpp:55:33: error: lvalue required as unary '&' operand
         if('A'<=s&&s<='Z')
                                 ^
0_0_21589127_8100.cpp:55:36: error: 'Z' was not declared in this scope
         if('A'<=s&&s<='Z')
                                    ^
0_0_21589127_8100.cpp:55:42: error: expected primary-expression before ')' token
         if('A'<=s&&s<='Z')
                                          ^
0_0_21589127_8100.cpp:57:9: error: 'else' without a previous 'if'
         else return 0;
         ^


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-12-04 04:44:14, Gzip enabled