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_21601540_30021.cpp:27:21: error: stray '#' in program
     if(a[i].jb[0]=='s')
                     ^
0_0_21601540_30021.cpp:27:27: error: stray '#' in program
     if(a[i].jb[0]=='s')
                           ^
0_0_21601540_30021.cpp:28:21: error: stray '#' in program
         a[i].jb[0]='c';
                     ^
0_0_21601540_30021.cpp:28:27: error: stray '#' in program
         a[i].jb[0]='c';
                           ^
0_0_21601540_30021.cpp:29:26: error: stray '#' in program
     else if(a[i].jb[0]=='g')
                          ^
0_0_21601540_30021.cpp:29:32: error: stray '#' in program
     else if(a[i].jb[0]=='g')
                                ^
0_0_21601540_30021.cpp:30:21: error: stray '#' in program
         a[i].jb[0]='b';
                     ^
0_0_21601540_30021.cpp:30:27: error: stray '#' in program
         a[i].jb[0]='b';
                           ^
0_0_21601540_30021.cpp:32:21: error: stray '#' in program
         a[i].jb[0]='a';
                     ^
0_0_21601540_30021.cpp:32:27: error: stray '#' in program
         a[i].jb[0]='a';
                           ^
0_0_21601540_30021.cpp:36:21: error: stray '#' in program
     if(a[i].jb[0]=='c')
                     ^
0_0_21601540_30021.cpp:36:27: error: stray '#' in program
     if(a[i].jb[0]=='c')
                           ^
0_0_21601540_30021.cpp:37:21: error: stray '#' in program
         a[i].jb[0]='s';
                     ^
0_0_21601540_30021.cpp:37:27: error: stray '#' in program
         a[i].jb[0]='s';
                           ^
0_0_21601540_30021.cpp:38:26: error: stray '#' in program
     else if(a[i].jb[0]=='b')
                          ^
0_0_21601540_30021.cpp:38:32: error: stray '#' in program
     else if(a[i].jb[0]=='b')
                                ^
0_0_21601540_30021.cpp:39:21: error: stray '#' in program
         a[i].jb[0]='g';
                     ^
0_0_21601540_30021.cpp:39:27: error: stray '#' in program
         a[i].jb[0]='g';
                           ^
0_0_21601540_30021.cpp:41:21: error: stray '#' in program
         a[i].jb[0]='w';
                     ^
0_0_21601540_30021.cpp:41:27: error: stray '#' in program
         a[i].jb[0]='w';
                           ^
0_0_21601540_30021.cpp: In function 'void change(int)':
0_0_21601540_30021.cpp:27:22: error: lvalue required as unary '&' operand
     if(a[i].jb[0]=='s')
                      ^
0_0_21601540_30021.cpp:27:24: error: expected ')' before ';' token
     if(a[i].jb[0]=='s')
                        ^
0_0_21601540_30021.cpp:27:25: error: 's' was not declared in this scope
     if(a[i].jb[0]=='s')
                         ^
0_0_21601540_30021.cpp:27:31: error: expected primary-expression before ')' token
     if(a[i].jb[0]=='s')
                               ^
0_0_21601540_30021.cpp:28:25: error: 'c' was not declared in this scope
         a[i].jb[0]='c';
                         ^
0_0_21601540_30021.cpp:29:5: error: 'else' without a previous 'if'
     else if(a[i].jb[0]=='g')
     ^
0_0_21601540_30021.cpp:29:27: error: lvalue required as unary '&' operand
     else if(a[i].jb[0]=='g')
                           ^
0_0_21601540_30021.cpp:29:29: error: expected ')' before ';' token
     else if(a[i].jb[0]=='g')
                             ^
0_0_21601540_30021.cpp:29:30: error: 'g' was not declared in this scope
     else if(a[i].jb[0]=='g')
                              ^
0_0_21601540_30021.cpp:29:36: error: expected primary-expression before ')' token
     else if(a[i].jb[0]=='g')
                                    ^
0_0_21601540_30021.cpp:30:25: error: 'b' was not declared in this scope
         a[i].jb[0]='b';
                         ^
0_0_21601540_30021.cpp:31:5: error: 'else' without a previous 'if'
     else
     ^
0_0_21601540_30021.cpp:32:22: error: lvalue required as unary '&' operand
         a[i].jb[0]='a';
                      ^
0_0_21601540_30021.cpp:32:28: error: invalid operands of types 'data [510]' and 'int' to binary 'operator&'
         a[i].jb[0]='a';
                            ^
0_0_21601540_30021.cpp: In function 'void beback(int)':
0_0_21601540_30021.cpp:36:22: error: lvalue required as unary '&' operand
     if(a[i].jb[0]=='c')
                      ^
0_0_21601540_30021.cpp:36:24: error: expected ')' before ';' token
     if(a[i].jb[0]=='c')
                        ^
0_0_21601540_30021.cpp:36:25: error: 'c' was not declared in this scope
     if(a[i].jb[0]=='c')
                         ^
0_0_21601540_30021.cpp:36:31: error: expected primary-expression before ')' token
     if(a[i].jb[0]=='c')
                               ^
0_0_21601540_30021.cpp:37:25: error: 's' was not declared in this scope
         a[i].jb[0]='s';
                         ^
0_0_21601540_30021.cpp:38:5: error: 'else' without a previous 'if'
     else if(a[i].jb[0]=='b')
     ^
0_0_21601540_30021.cpp:38:27: error: lvalue required as unary '&' operand
     else if(a[i].jb[0]=='b')
                           ^
0_0_21601540_30021.cpp:38:29: error: expected ')' before ';' token
     else if(a[i].jb[0]=='b')
                             ^
0_0_21601540_30021.cpp:38:30: error: 'b' was not declared in this scope
     else if(a[i].jb[0]=='b')
                              ^
0_0_21601540_30021.cpp:38:36: error: expected primary-expression before ')' token
     else if(a[i].jb[0]=='b')
                                    ^
0_0_21601540_30021.cpp:39:25: error: 'g' was not declared in this scope
         a[i].jb[0]='g';
                         ^
0_0_21601540_30021.cpp:40:5: error: 'else' without a previous 'if'
     else
     ^
0_0_21601540_30021.cpp:41:22: error: lvalue required as unary '&' operand
         a[i].jb[0]='w';
                      ^
0_0_21601540_30021.cpp:41:25: error: 'w' was not declared in this scope
         a[i].jb[0]='w';
                         ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-03-11 15:58:26, Gzip enabled