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_21601532_20378.cpp:33:15: error: stray '#' in program
     if(ch >= 'a' && ch <= 'c')return 2;
               ^
0_0_21601532_20378.cpp:33:21: error: stray '#' in program
     if(ch >= 'a' && ch <= 'c')return 2;
                     ^
0_0_21601532_20378.cpp:33:36: error: stray '#' in program
     if(ch >= 'a' && ch <= 'c')return 2;
                                    ^
0_0_21601532_20378.cpp:33:42: error: stray '#' in program
     if(ch >= 'a' && ch <= 'c')return 2;
                                          ^
0_0_21601532_20378.cpp:34:15: error: stray '#' in program
     if(ch >= 'd' && ch <= 'f')return 3;
               ^
0_0_21601532_20378.cpp:34:21: error: stray '#' in program
     if(ch >= 'd' && ch <= 'f')return 3;
                     ^
0_0_21601532_20378.cpp:34:36: error: stray '#' in program
     if(ch >= 'd' && ch <= 'f')return 3;
                                    ^
0_0_21601532_20378.cpp:34:42: error: stray '#' in program
     if(ch >= 'd' && ch <= 'f')return 3;
                                          ^
0_0_21601532_20378.cpp:35:15: error: stray '#' in program
     if(ch >= 'g' && ch <= 'i')return 4;
               ^
0_0_21601532_20378.cpp:35:21: error: stray '#' in program
     if(ch >= 'g' && ch <= 'i')return 4;
                     ^
0_0_21601532_20378.cpp:35:36: error: stray '#' in program
     if(ch >= 'g' && ch <= 'i')return 4;
                                    ^
0_0_21601532_20378.cpp:35:42: error: stray '#' in program
     if(ch >= 'g' && ch <= 'i')return 4;
                                          ^
0_0_21601532_20378.cpp:36:15: error: stray '#' in program
     if(ch >= 'j' && ch <= 'l')return 5;
               ^
0_0_21601532_20378.cpp:36:21: error: stray '#' in program
     if(ch >= 'j' && ch <= 'l')return 5;
                     ^
0_0_21601532_20378.cpp:36:36: error: stray '#' in program
     if(ch >= 'j' && ch <= 'l')return 5;
                                    ^
0_0_21601532_20378.cpp:36:42: error: stray '#' in program
     if(ch >= 'j' && ch <= 'l')return 5;
                                          ^
0_0_21601532_20378.cpp:37:15: error: stray '#' in program
     if(ch >= 'm' && ch <= 'o')return 6;
               ^
0_0_21601532_20378.cpp:37:21: error: stray '#' in program
     if(ch >= 'm' && ch <= 'o')return 6;
                     ^
0_0_21601532_20378.cpp:37:36: error: stray '#' in program
     if(ch >= 'm' && ch <= 'o')return 6;
                                    ^
0_0_21601532_20378.cpp:37:42: error: stray '#' in program
     if(ch >= 'm' && ch <= 'o')return 6;
                                          ^
0_0_21601532_20378.cpp:38:15: error: stray '#' in program
     if(ch >= 'p' && ch <= 's')return 7;
               ^
0_0_21601532_20378.cpp:38:21: error: stray '#' in program
     if(ch >= 'p' && ch <= 's')return 7;
                     ^
0_0_21601532_20378.cpp:38:36: error: stray '#' in program
     if(ch >= 'p' && ch <= 's')return 7;
                                    ^
0_0_21601532_20378.cpp:38:42: error: stray '#' in program
     if(ch >= 'p' && ch <= 's')return 7;
                                          ^
0_0_21601532_20378.cpp:39:15: error: stray '#' in program
     if(ch >= 't' && ch <= 'v')return 8;
               ^
0_0_21601532_20378.cpp:39:21: error: stray '#' in program
     if(ch >= 't' && ch <= 'v')return 8;
                     ^
0_0_21601532_20378.cpp:39:36: error: stray '#' in program
     if(ch >= 't' && ch <= 'v')return 8;
                                    ^
0_0_21601532_20378.cpp:39:42: error: stray '#' in program
     if(ch >= 't' && ch <= 'v')return 8;
                                          ^
0_0_21601532_20378.cpp:40:15: error: stray '#' in program
     if(ch >= 'w' && ch <= 'z')return 9;
               ^
0_0_21601532_20378.cpp:40:21: error: stray '#' in program
     if(ch >= 'w' && ch <= 'z')return 9;
                     ^
0_0_21601532_20378.cpp:40:36: error: stray '#' in program
     if(ch >= 'w' && ch <= 'z')return 9;
                                    ^
0_0_21601532_20378.cpp:40:42: error: stray '#' in program
     if(ch >= 'w' && ch <= 'z')return 9;
                                          ^
0_0_21601532_20378.cpp:46:27: error: stray '#' in program
         int tmp = a[i] - '0';
                           ^
0_0_21601532_20378.cpp:46:33: error: stray '#' in program
         int tmp = a[i] - '0';
                                 ^
0_0_21601532_20378.cpp: In function 'int Get_Num(char)':
0_0_21601532_20378.cpp:33:16: error: lvalue required as unary '&' operand
     if(ch >= 'a' && ch <= 'c')return 2;
                ^
0_0_21601532_20378.cpp:33:18: error: expected ')' before ';' token
     if(ch >= 'a' && ch <= 'c')return 2;
                  ^
0_0_21601532_20378.cpp:33:19: error: 'a' was not declared in this scope
     if(ch >= 'a' && ch <= 'c')return 2;
                   ^
0_0_21601532_20378.cpp:33:37: error: lvalue required as unary '&' operand
     if(ch >= 'a' && ch <= 'c')return 2;
                                     ^
0_0_21601532_20378.cpp:33:40: error: 'c' was not declared in this scope
     if(ch >= 'a' && ch <= 'c')return 2;
                                        ^
0_0_21601532_20378.cpp:33:46: error: expected primary-expression before ')' token
     if(ch >= 'a' && ch <= 'c')return 2;
                                              ^
0_0_21601532_20378.cpp:34:16: error: lvalue required as unary '&' operand
     if(ch >= 'd' && ch <= 'f')return 3;
                ^
0_0_21601532_20378.cpp:34:18: error: expected ')' before ';' token
     if(ch >= 'd' && ch <= 'f')return 3;
                  ^
0_0_21601532_20378.cpp:34:19: error: 'd' was not declared in this scope
     if(ch >= 'd' && ch <= 'f')return 3;
                   ^
0_0_21601532_20378.cpp:34:37: error: lvalue required as unary '&' operand
     if(ch >= 'd' && ch <= 'f')return 3;
                                     ^
0_0_21601532_20378.cpp:34:40: error: 'f' was not declared in this scope
     if(ch >= 'd' && ch <= 'f')return 3;
                                        ^
0_0_21601532_20378.cpp:34:46: error: expected primary-expression before ')' token
     if(ch >= 'd' && ch <= 'f')return 3;
                                              ^
0_0_21601532_20378.cpp:35:16: error: lvalue required as unary '&' operand
     if(ch >= 'g' && ch <= 'i')return 4;
                ^
0_0_21601532_20378.cpp:35:18: error: expected ')' before ';' token
     if(ch >= 'g' && ch <= 'i')return 4;
                  ^
0_0_21601532_20378.cpp:35:19: error: 'g' was not declared in this scope
     if(ch >= 'g' && ch <= 'i')return 4;
                   ^
0_0_21601532_20378.cpp:35:37: error: lvalue required as unary '&' operand
     if(ch >= 'g' && ch <= 'i')return 4;
                                     ^
0_0_21601532_20378.cpp:35:40: error: 'i' was not declared in this scope
     if(ch >= 'g' && ch <= 'i')return 4;
                                        ^
0_0_21601532_20378.cpp:35:46: error: expected primary-expression before ')' token
     if(ch >= 'g' && ch <= 'i')return 4;
                                              ^
0_0_21601532_20378.cpp:36:16: error: lvalue required as unary '&' operand
     if(ch >= 'j' && ch <= 'l')return 5;
                ^
0_0_21601532_20378.cpp:36:18: error: expected ')' before ';' token
     if(ch >= 'j' && ch <= 'l')return 5;
                  ^
0_0_21601532_20378.cpp:36:19: error: 'j' was not declared in this scope
     if(ch >= 'j' && ch <= 'l')return 5;
                   ^
0_0_21601532_20378.cpp:36:37: error: lvalue required as unary '&' operand
     if(ch >= 'j' && ch <= 'l')return 5;
                                     ^
0_0_21601532_20378.cpp:36:40: error: 'l' was not declared in this scope
     if(ch >= 'j' && ch <= 'l')return 5;
                                        ^
0_0_21601532_20378.cpp:36:46: error: expected primary-expression before ')' token
     if(ch >= 'j' && ch <= 'l')return 5;
                                              ^
0_0_21601532_20378.cpp:37:16: error: lvalue required as unary '&' operand
     if(ch >= 'm' && ch <= 'o')return 6;
                ^
0_0_21601532_20378.cpp:37:18: error: expected ')' before ';' token
     if(ch >= 'm' && ch <= 'o')return 6;
                  ^
0_0_21601532_20378.cpp:37:19: error: 'm' was not declared in this scope
     if(ch >= 'm' && ch <= 'o')return 6;
                   ^
0_0_21601532_20378.cpp:37:37: error: lvalue required as unary '&' operand
     if(ch >= 'm' && ch <= 'o')return 6;
                                     ^
0_0_21601532_20378.cpp:37:40: error: 'o' was not declared in this scope


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-30 00:10:44, Gzip enabled