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_21595311_6200.cpp:22:19: error: stray '#' in program
         pos=s[i]-'0';
                   ^
0_0_21595311_6200.cpp:22:25: error: stray '#' in program
         pos=s[i]-'0';
                         ^
0_0_21595311_6200.cpp:42:19: error: stray '#' in program
         pos=s[i]-'0';
                   ^
0_0_21595311_6200.cpp:42:25: error: stray '#' in program
         pos=s[i]-'0';
                         ^
0_0_21595311_6200.cpp:59:12: error: stray '#' in program
     if(s>='a'&&s<='c') return '2';
            ^
0_0_21595311_6200.cpp:59:18: error: stray '#' in program
     if(s>='a'&&s<='c') return '2';
                  ^
0_0_21595311_6200.cpp:59:28: error: stray '#' in program
     if(s>='a'&&s<='c') return '2';
                            ^
0_0_21595311_6200.cpp:59:34: error: stray '#' in program
     if(s>='a'&&s<='c') return '2';
                                  ^
0_0_21595311_6200.cpp:59:48: error: stray '#' in program
     if(s>='a'&&s<='c') return '2';
                                                ^
0_0_21595311_6200.cpp:59:54: error: stray '#' in program
     if(s>='a'&&s<='c') return '2';
                                                      ^
0_0_21595311_6200.cpp:60:17: error: stray '#' in program
     else if(s>='d'&&s<='f') return '3';
                 ^
0_0_21595311_6200.cpp:60:23: error: stray '#' in program
     else if(s>='d'&&s<='f') return '3';
                       ^
0_0_21595311_6200.cpp:60:33: error: stray '#' in program
     else if(s>='d'&&s<='f') return '3';
                                 ^
0_0_21595311_6200.cpp:60:39: error: stray '#' in program
     else if(s>='d'&&s<='f') return '3';
                                       ^
0_0_21595311_6200.cpp:60:53: error: stray '#' in program
     else if(s>='d'&&s<='f') return '3';
                                                     ^
0_0_21595311_6200.cpp:60:59: error: stray '#' in program
     else if(s>='d'&&s<='f') return '3';
                                                           ^
0_0_21595311_6200.cpp:61:17: error: stray '#' in program
     else if(s>='g'&&s<='i') return '4';
                 ^
0_0_21595311_6200.cpp:61:23: error: stray '#' in program
     else if(s>='g'&&s<='i') return '4';
                       ^
0_0_21595311_6200.cpp:61:33: error: stray '#' in program
     else if(s>='g'&&s<='i') return '4';
                                 ^
0_0_21595311_6200.cpp:61:39: error: stray '#' in program
     else if(s>='g'&&s<='i') return '4';
                                       ^
0_0_21595311_6200.cpp:61:53: error: stray '#' in program
     else if(s>='g'&&s<='i') return '4';
                                                     ^
0_0_21595311_6200.cpp:61:59: error: stray '#' in program
     else if(s>='g'&&s<='i') return '4';
                                                           ^
0_0_21595311_6200.cpp:62:17: error: stray '#' in program
     else if(s>='j'&&s<='l') return '5';
                 ^
0_0_21595311_6200.cpp:62:23: error: stray '#' in program
     else if(s>='j'&&s<='l') return '5';
                       ^
0_0_21595311_6200.cpp:62:33: error: stray '#' in program
     else if(s>='j'&&s<='l') return '5';
                                 ^
0_0_21595311_6200.cpp:62:39: error: stray '#' in program
     else if(s>='j'&&s<='l') return '5';
                                       ^
0_0_21595311_6200.cpp:62:53: error: stray '#' in program
     else if(s>='j'&&s<='l') return '5';
                                                     ^
0_0_21595311_6200.cpp:62:59: error: stray '#' in program
     else if(s>='j'&&s<='l') return '5';
                                                           ^
0_0_21595311_6200.cpp:63:17: error: stray '#' in program
     else if(s>='m'&&s<='o') return '6';
                 ^
0_0_21595311_6200.cpp:63:23: error: stray '#' in program
     else if(s>='m'&&s<='o') return '6';
                       ^
0_0_21595311_6200.cpp:63:33: error: stray '#' in program
     else if(s>='m'&&s<='o') return '6';
                                 ^
0_0_21595311_6200.cpp:63:39: error: stray '#' in program
     else if(s>='m'&&s<='o') return '6';
                                       ^
0_0_21595311_6200.cpp:63:53: error: stray '#' in program
     else if(s>='m'&&s<='o') return '6';
                                                     ^
0_0_21595311_6200.cpp:63:59: error: stray '#' in program
     else if(s>='m'&&s<='o') return '6';
                                                           ^
0_0_21595311_6200.cpp:64:17: error: stray '#' in program
     else if(s>='p'&&s<='s') return '7';
                 ^
0_0_21595311_6200.cpp:64:23: error: stray '#' in program
     else if(s>='p'&&s<='s') return '7';
                       ^
0_0_21595311_6200.cpp:64:33: error: stray '#' in program
     else if(s>='p'&&s<='s') return '7';
                                 ^
0_0_21595311_6200.cpp:64:39: error: stray '#' in program
     else if(s>='p'&&s<='s') return '7';
                                       ^
0_0_21595311_6200.cpp:64:53: error: stray '#' in program
     else if(s>='p'&&s<='s') return '7';
                                                     ^
0_0_21595311_6200.cpp:64:59: error: stray '#' in program
     else if(s>='p'&&s<='s') return '7';
                                                           ^
0_0_21595311_6200.cpp:65:17: error: stray '#' in program
     else if(s>='t'&&s<='v') return '8';
                 ^
0_0_21595311_6200.cpp:65:23: error: stray '#' in program
     else if(s>='t'&&s<='v') return '8';
                       ^
0_0_21595311_6200.cpp:65:33: error: stray '#' in program
     else if(s>='t'&&s<='v') return '8';
                                 ^
0_0_21595311_6200.cpp:65:39: error: stray '#' in program
     else if(s>='t'&&s<='v') return '8';
                                       ^
0_0_21595311_6200.cpp:65:53: error: stray '#' in program
     else if(s>='t'&&s<='v') return '8';
                                                     ^
0_0_21595311_6200.cpp:65:59: error: stray '#' in program
     else if(s>='t'&&s<='v') return '8';
                                                           ^
0_0_21595311_6200.cpp:66:18: error: stray '#' in program
     else return '9';
                  ^
0_0_21595311_6200.cpp:66:24: error: stray '#' in program
     else return '9';
                        ^
0_0_21595311_6200.cpp:76:21: error: stray '#' in program
         memset(str,'\0',sizeof(str));
                     ^
0_0_21595311_6200.cpp:76:9: error: stray '\' in program
         memset(str,'\0',sizeof(str));
         ^
0_0_21595311_6200.cpp:76:28: error: stray '#' in program
         memset(str,'\0',sizeof(str));
                            ^
0_0_21595311_6200.cpp: In function 'void createTrie(char*, int)':
0_0_21595311_6200.cpp:22:20: error: lvalue required as unary '&' operand
         pos=s[i]-'0';
                    ^
0_0_21595311_6200.cpp: In function 'int findTrie(char*)':
0_0_21595311_6200.cpp:42:20: error: lvalue required as unary '&' operand
         pos=s[i]-'0';
                    ^
0_0_21595311_6200.cpp: In function 'char getLetter(char)':
0_0_21595311_6200.cpp:59:13: error: lvalue required as unary '&' operand
     if(s>='a'&&s<='c') return '2';
             ^
0_0_21595311_6200.cpp:59:15: error: expected ')' before ';' token
     if(s>='a'&&s<='c') return '2';
               ^
0_0_21595311_6200.cpp:59:16: error: 'a' was not declared in this scope
     if(s>='a'&&s<='c') return '2';
                ^
0_0_21595311_6200.cpp:59:29: error: lvalue required as unary '&' operand
     if(s>='a'&&s<='c') return '2';
                             ^
0_0_21595311_6200.cpp:59:32: error: 'c' was not declared in this scope
     if(s>='a'&&s<='c') return '2';
                                ^
0_0_21595311_6200.cpp:59:38: error: expected primary-expression before ')' token
     if(s>='a'&&s<='c') return '2';
                                      ^
0_0_21595311_6200.cpp:60:5: error: 'else' without a previous 'if'
     else if(s>='d'&&s<='f') return '3';
     ^
0_0_21595311_6200.cpp:60:18: error: lvalue required as unary '&' operand
     else if(s>='d'&&s<='f') return '3';
                  ^
0_0_21595311_6200.cpp:60:20: error: expected ')' before ';' token
     else if(s>='d'


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 06:35:37, Gzip enabled