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_16571645_9365.cpp:8:1: error: expected ',' or ';' before 'int'
 int miGong[DS][DS];
 ^
0_0_16571645_9365.cpp: In function 'bool bfs(int, int, int, int)':
0_0_16571645_9365.cpp:29:8: error: 'miGong' was not declared in this scope
     if(miGong[startX][startY]!=miGong[endX][endY]) return false;
        ^
0_0_16571645_9365.cpp:30:8: error: 'miGong' was not declared in this scope
     if(miGong[startX][startY]==miGong[endX][endY]&&miGong[endX][endY]==0)return false;
        ^
0_0_16571645_9365.cpp:49:16: error: 'miGong' was not declared in this scope
             if(miGong[tx][ty]==0&&vis[tx][ty]==0)
                ^
0_0_16571645_9365.cpp: In function 'int main()':
0_0_16571645_9365.cpp:77:25: error: 'miGong' was not declared in this scope
             scanf("%d",&miGong[i][j]);
                         ^


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-23 03:31:59, Gzip enabled