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_21595254_2350.cpp:22:22: error: stray '#' in program
   if(map[u.x][u.y]=='G')return u.time;
                      ^
0_0_21595254_2350.cpp:22:28: error: stray '#' in program
   if(map[u.x][u.y]=='G')return u.time;
                            ^
0_0_21595254_2350.cpp:26:54: error: stray '#' in program
    if(v.x>=0&&v.x<n&&v.y>=0&&v.y<m&&(map[v.x][v.y]!='#'||(u.time+1)%k==0)&&!vis[v.x][v.y][(u.time+1)%k]){
                                                      ^
0_0_21595254_2350.cpp:26:58: error: stray '#' in program
    if(v.x>=0&&v.x<n&&v.y>=0&&v.y<m&&(map[v.x][v.y]!='#'||(u.time+1)%k==0)&&!vis[v.x][v.y][(u.time+1)%k]){
                                                          ^
0_0_21595254_2350.cpp:26:60: error: stray '#' in program
    if(v.x>=0&&v.x<n&&v.y>=0&&v.y<m&&(map[v.x][v.y]!='#'||(u.time+1)%k==0)&&!vis[v.x][v.y][(u.time+1)%k]){
                                                            ^
0_0_21595254_2350.cpp:45:20: error: stray '#' in program
     if(map[i][j]=='Y'){
                    ^
0_0_21595254_2350.cpp:45:26: error: stray '#' in program
     if(map[i][j]=='Y'){
                          ^
0_0_21595254_2350.cpp: In function 'int bfs(int, int)':
0_0_21595254_2350.cpp:22:23: error: lvalue required as unary '&' operand
   if(map[u.x][u.y]=='G')return u.time;
                       ^
0_0_21595254_2350.cpp:22:25: error: expected ')' before ';' token
   if(map[u.x][u.y]=='G')return u.time;
                         ^
0_0_21595254_2350.cpp:22:26: error: 'G' was not declared in this scope
   if(map[u.x][u.y]=='G')return u.time;
                          ^
0_0_21595254_2350.cpp:22:32: error: expected primary-expression before ')' token
   if(map[u.x][u.y]=='G')return u.time;
                                ^
0_0_21595254_2350.cpp:26:55: error: lvalue required as unary '&' operand
    if(v.x>=0&&v.x<n&&v.y>=0&&v.y<m&&(map[v.x][v.y]!='#'||(u.time+1)%k==0)&&!vis[v.x][v.y][(u.time+1)%k]){
                                                       ^
0_0_21595254_2350.cpp:26:57: error: expected ')' before ';' token
    if(v.x>=0&&v.x<n&&v.y>=0&&v.y<m&&(map[v.x][v.y]!='#'||(u.time+1)%k==0)&&!vis[v.x][v.y][(u.time+1)%k]){
                                                         ^
0_0_21595254_2350.cpp:26:57: error: expected ')' before ';' token
0_0_21595254_2350.cpp:26:61: error: lvalue required as unary '&' operand
    if(v.x>=0&&v.x<n&&v.y>=0&&v.y<m&&(map[v.x][v.y]!='#'||(u.time+1)%k==0)&&!vis[v.x][v.y][(u.time+1)%k]){
                                                             ^
0_0_21595254_2350.cpp:26:64: error: expected primary-expression before '||' token
    if(v.x>=0&&v.x<n&&v.y>=0&&v.y<m&&(map[v.x][v.y]!='#'||(u.time+1)%k==0)&&!vis[v.x][v.y][(u.time+1)%k]){
                                                                ^
0_0_21595254_2350.cpp: In function 'int main()':
0_0_21595254_2350.cpp:45:21: error: lvalue required as unary '&' operand
     if(map[i][j]=='Y'){
                     ^
0_0_21595254_2350.cpp:45:23: error: expected ')' before ';' token
     if(map[i][j]=='Y'){
                       ^
0_0_21595254_2350.cpp:45:24: error: 'Y' was not declared in this scope
     if(map[i][j]=='Y'){
                        ^
0_0_21595254_2350.cpp:45:30: error: expected primary-expression before ')' token
     if(map[i][j]=='Y'){
                              ^


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-26 16:46:21, Gzip enabled