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_21588313_27778.cpp:50:12: error: stray '#' in program
     if(s>='A'&&s<='Z') return s-'A'+1;
            ^
0_0_21588313_27778.cpp:50:18: error: stray '#' in program
     if(s>='A'&&s<='Z') return s-'A'+1;
                  ^
0_0_21588313_27778.cpp:50:28: error: stray '#' in program
     if(s>='A'&&s<='Z') return s-'A'+1;
                            ^
0_0_21588313_27778.cpp:50:34: error: stray '#' in program
     if(s>='A'&&s<='Z') return s-'A'+1;
                                  ^
0_0_21588313_27778.cpp:50:50: error: stray '#' in program
     if(s>='A'&&s<='Z') return s-'A'+1;
                                                  ^
0_0_21588313_27778.cpp:50:56: error: stray '#' in program
     if(s>='A'&&s<='Z') return s-'A'+1;
                                                        ^
0_0_21588313_27778.cpp:51:12: error: stray '#' in program
     if(s>='a'&&s<='z') return s-'a'+27;
            ^
0_0_21588313_27778.cpp:51:18: error: stray '#' in program
     if(s>='a'&&s<='z') return s-'a'+27;
                  ^
0_0_21588313_27778.cpp:51:28: error: stray '#' in program
     if(s>='a'&&s<='z') return s-'a'+27;
                            ^
0_0_21588313_27778.cpp:51:34: error: stray '#' in program
     if(s>='a'&&s<='z') return s-'a'+27;
                                  ^
0_0_21588313_27778.cpp:51:50: error: stray '#' in program
     if(s>='a'&&s<='z') return s-'a'+27;
                                                  ^
0_0_21588313_27778.cpp:51:56: error: stray '#' in program
     if(s>='a'&&s<='z') return s-'a'+27;
                                                        ^
0_0_21588313_27778.cpp:59:28: error: stray '#' in program
             if(str[i][j]=='*') gold[go++]=i*R+j;
                            ^
0_0_21588313_27778.cpp:59:34: error: stray '#' in program
             if(str[i][j]=='*') gold[go++]=i*R+j;
                                  ^
0_0_21588313_27778.cpp:83:70: error: stray '#' in program
             if(xx>=0&&xx<C&&yy>=0&&yy<R&&!vis[xx][yy]&&str[xx][yy]!='#'){
                                                                      ^
0_0_21588313_27778.cpp:83:74: error: stray '#' in program
             if(xx>=0&&xx<C&&yy>=0&&yy<R&&!vis[xx][yy]&&str[xx][yy]!='#'){
                                                                          ^
0_0_21588313_27778.cpp:83:76: error: stray '#' in program
             if(xx>=0&&xx<C&&yy>=0&&yy<R&&!vis[xx][yy]&&str[xx][yy]!='#'){
                                                                            ^
0_0_21588313_27778.cpp: In function 'int get_rally(char)':
0_0_21588313_27778.cpp:50:13: error: lvalue required as unary '&' operand
     if(s>='A'&&s<='Z') return s-'A'+1;
             ^
0_0_21588313_27778.cpp:50:15: error: expected ')' before ';' token
     if(s>='A'&&s<='Z') return s-'A'+1;
               ^
0_0_21588313_27778.cpp:50:16: error: 'A' was not declared in this scope
     if(s>='A'&&s<='Z') return s-'A'+1;
                ^
0_0_21588313_27778.cpp:50:29: error: lvalue required as unary '&' operand
     if(s>='A'&&s<='Z') return s-'A'+1;
                             ^
0_0_21588313_27778.cpp:50:32: error: 'Z' was not declared in this scope
     if(s>='A'&&s<='Z') return s-'A'+1;
                                ^
0_0_21588313_27778.cpp:50:38: error: expected primary-expression before ')' token
     if(s>='A'&&s<='Z') return s-'A'+1;
                                      ^
0_0_21588313_27778.cpp:51:13: error: lvalue required as unary '&' operand
     if(s>='a'&&s<='z') return s-'a'+27;
             ^
0_0_21588313_27778.cpp:51:15: error: expected ')' before ';' token
     if(s>='a'&&s<='z') return s-'a'+27;
               ^
0_0_21588313_27778.cpp:51:16: error: 'a' was not declared in this scope
     if(s>='a'&&s<='z') return s-'a'+27;
                ^
0_0_21588313_27778.cpp:51:29: error: lvalue required as unary '&' operand
     if(s>='a'&&s<='z') return s-'a'+27;
                             ^
0_0_21588313_27778.cpp:51:32: error: 'z' was not declared in this scope
     if(s>='a'&&s<='z') return s-'a'+27;
                                ^
0_0_21588313_27778.cpp:51:38: error: expected primary-expression before ')' token
     if(s>='a'&&s<='z') return s-'a'+27;
                                      ^
0_0_21588313_27778.cpp:50:24: error: label 's' used but not defined
     if(s>='A'&&s<='Z') return s-'A'+1;
                        ^
0_0_21588313_27778.cpp: In function 'void input()':
0_0_21588313_27778.cpp:59:29: error: lvalue required as unary '&' operand
             if(str[i][j]=='*') gold[go++]=i*R+j;
                             ^
0_0_21588313_27778.cpp:59:31: error: expected ')' before ';' token
             if(str[i][j]=='*') gold[go++]=i*R+j;
                               ^
0_0_21588313_27778.cpp:59:35: error: lvalue required as unary '&' operand
             if(str[i][j]=='*') gold[go++]=i*R+j;
                                   ^
0_0_21588313_27778.cpp:59:38: error: expected primary-expression before ')' token
             if(str[i][j]=='*') gold[go++]=i*R+j;
                                      ^
0_0_21588313_27778.cpp:60:13: error: 'else' without a previous 'if'
             else{
             ^
0_0_21588313_27778.cpp: In function 'void bfs(int, Node)':
0_0_21588313_27778.cpp:83:71: error: lvalue required as unary '&' operand
             if(xx>=0&&xx<C&&yy>=0&&yy<R&&!vis[xx][yy]&&str[xx][yy]!='#'){
                                                                       ^
0_0_21588313_27778.cpp:83:73: error: expected ')' before ';' token
             if(xx>=0&&xx<C&&yy>=0&&yy<R&&!vis[xx][yy]&&str[xx][yy]!='#'){
                                                                         ^
0_0_21588313_27778.cpp:83:77: error: lvalue required as unary '&' operand
             if(xx>=0&&xx<C&&yy>=0&&yy<R&&!vis[xx][yy]&&str[xx][yy]!='#'){
                                                                             ^
0_0_21588313_27778.cpp:83:80: error: expected primary-expression before ')' token
             if(xx>=0&&xx<C&&yy>=0&&yy<R&&!vis[xx][yy]&&str[xx][yy]!='#'){
                                                                                ^


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-24 02:34:09, Gzip enabled