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_23118610_32159.c:6:6: error: variably modified 'map' at file scope
 char map[maxn][maxn];
      ^
0_0_23118610_32159.c:6:6: error: variably modified 'map' at file scope
0_0_23118610_32159.c:7:5: error: variably modified 'visited' at file scope
 int visited[maxn][maxn];
     ^
0_0_23118610_32159.c:7:5: error: variably modified 'visited' at file scope
0_0_23118610_32159.c: In function 'dfs':
0_0_23118610_32159.c:14:14: error: 'ex' undeclared (first use in this function)
     if (x == ex && y == ey)
              ^
0_0_23118610_32159.c:14:14: note: each undeclared identifier is reported only once for each function it appears in
0_0_23118610_32159.c:14:25: error: 'ey' undeclared (first use in this function)
     if (x == ex && y == ey)
                         ^
0_0_23118610_32159.c: In function 'main':
0_0_23118610_32159.c:54:17: error: 'else' without a previous 'if'
                 else visited[i][j] = 0;
                 ^


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-10-06 15:26:05, Gzip enabled