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_21592201_6977.cpp:25:36: error: stray '#' in program
         for (int i = 0; str[i] != '\0'; ++i)
                                    ^
0_0_21592201_6977.cpp:25:9: error: stray '\' in program
         for (int i = 0; str[i] != '\0'; ++i)
         ^
0_0_21592201_6977.cpp:25:43: error: stray '#' in program
         for (int i = 0; str[i] != '\0'; ++i)
                                           ^
0_0_21592201_6977.cpp:28:28: error: stray '#' in program
             if (str[i] <= 'Z' && str[i] >= 'A')
                            ^
0_0_21592201_6977.cpp:28:34: error: stray '#' in program
             if (str[i] <= 'Z' && str[i] >= 'A')
                                  ^
0_0_21592201_6977.cpp:28:53: error: stray '#' in program
             if (str[i] <= 'Z' && str[i] >= 'A')
                                                     ^
0_0_21592201_6977.cpp:28:59: error: stray '#' in program
             if (str[i] <= 'Z' && str[i] >= 'A')
                                                           ^
0_0_21592201_6977.cpp:29:33: error: stray '#' in program
                 sym = str[i] - 'A' + 1;
                                 ^
0_0_21592201_6977.cpp:29:39: error: stray '#' in program
                 sym = str[i] - 'A' + 1;
                                       ^
0_0_21592201_6977.cpp:31:47: error: stray '#' in program
                 num[++cur] = alphe[sym][j] - '0';
                                               ^
0_0_21592201_6977.cpp:31:53: error: stray '#' in program
                 num[++cur] = alphe[sym][j] - '0';
                                                     ^
0_0_21592201_6977.cpp: In function 'int main()':
0_0_21592201_6977.cpp:25:37: error: lvalue required as unary '&' operand
         for (int i = 0; str[i] != '\0'; ++i)
                                     ^
0_0_21592201_6977.cpp:25:46: error: expected ')' before ';' token
         for (int i = 0; str[i] != '\0'; ++i)
                                              ^
0_0_21592201_6977.cpp:25:51: error: 'i' was not declared in this scope
         for (int i = 0; str[i] != '\0'; ++i)
                                                   ^


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-23 09:41:37, Gzip enabled