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_21601223_5849.cpp:10:24: error: stray '#' in program
             str[i][j]=' ';
                        ^
0_0_21601223_5849.cpp:10:30: error: stray '#' in program
             str[i][j]=' ';
                              ^
0_0_21601223_5849.cpp:19:19: error: stray '#' in program
         if(s[i]>='0'&&s[i]<='9')
                   ^
0_0_21601223_5849.cpp:19:25: error: stray '#' in program
         if(s[i]>='0'&&s[i]<='9')
                         ^
0_0_21601223_5849.cpp:19:38: error: stray '#' in program
         if(s[i]>='0'&&s[i]<='9')
                                      ^
0_0_21601223_5849.cpp:19:44: error: stray '#' in program
         if(s[i]>='0'&&s[i]<='9')
                                            ^
0_0_21601223_5849.cpp:21:25: error: stray '#' in program
             ans+=(s[i]-'0')*m;
                         ^
0_0_21601223_5849.cpp:21:31: error: stray '#' in program
             ans+=(s[i]-'0')*m;
                               ^
0_0_21601223_5849.cpp:24:25: error: stray '#' in program
             ans+=(s[i]-'A'+10)*m;
                         ^
0_0_21601223_5849.cpp:24:31: error: stray '#' in program
             ans+=(s[i]-'A'+10)*m;
                               ^
0_0_21601223_5849.cpp:50:41: error: stray '#' in program
                         str[deep][num]='#';
                                         ^
0_0_21601223_5849.cpp:50:45: error: stray '#' in program
                         str[deep][num]='#';
                                             ^
0_0_21601223_5849.cpp:50:47: error: stray '#' in program
                         str[deep][num]='#';
                                               ^
0_0_21601223_5849.cpp: In function 'void init()':
0_0_21601223_5849.cpp:10:25: error: lvalue required as unary '&' operand
             str[i][j]=' ';
                         ^
0_0_21601223_5849.cpp:10:31: error: lvalue required as unary '&' operand
             str[i][j]=' ';
                               ^
0_0_21601223_5849.cpp: In function 'int to10(char*)':
0_0_21601223_5849.cpp:19:20: error: lvalue required as unary '&' operand
         if(s[i]>='0'&&s[i]<='9')
                    ^
0_0_21601223_5849.cpp:19:22: error: expected ')' before ';' token
         if(s[i]>='0'&&s[i]<='9')
                      ^
0_0_21601223_5849.cpp:19:32: error: expected ';' before '[' token
         if(s[i]>='0'&&s[i]<='9')
                                ^
0_0_21601223_5849.cpp:19:48: error: expected primary-expression before ')' token
         if(s[i]>='0'&&s[i]<='9')
                                                ^
0_0_21601223_5849.cpp:23:9: error: 'else' without a previous 'if'
         else
         ^
0_0_21601223_5849.cpp:24:26: error: lvalue required as unary '&' operand
             ans+=(s[i]-'A'+10)*m;
                          ^
0_0_21601223_5849.cpp:24:28: error: expected ')' before ';' token
             ans+=(s[i]-'A'+10)*m;
                            ^
0_0_21601223_5849.cpp:24:29: error: 'A' was not declared in this scope
             ans+=(s[i]-'A'+10)*m;
                             ^
0_0_21601223_5849.cpp:24:38: error: expected ';' before ')' token
             ans+=(s[i]-'A'+10)*m;
                                      ^
0_0_21601223_5849.cpp:19:31: error: label 's' used but not defined
         if(s[i]>='0'&&s[i]<='9')
                               ^
0_0_21601223_5849.cpp: In function 'int main()':
0_0_21601223_5849.cpp:50:42: error: lvalue required as unary '&' operand
                         str[deep][num]='#';
                                          ^
0_0_21601223_5849.cpp:50:48: error: lvalue required as unary '&' operand
                         str[deep][num]='#';
                                                ^


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-09-29 02:51:21, Gzip enabled