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_25697798_28884.cpp: In function 'void DFS(int, int, int)':
0_0_25697798_28884.cpp:14:13: error: 'n' was not declared in this scope
  if(x<0||x>=n||y<0||y>=m)
             ^
0_0_25697798_28884.cpp:14:24: error: 'm' was not declared in this scope
  if(x<0||x>=n||y<0||y>=m)
                        ^
0_0_25697798_28884.cpp:18:24: error: 't' was not declared in this scope
  if(x==ex&&y==ey&&time=t)
                        ^
0_0_25697798_28884.cpp:25:13: error: 't' was not declared in this scope
   int temp=(t-time)-(abs(x-ex)+abs(y-ey))
             ^
0_0_25697798_28884.cpp:32:7: error: 'a' was not declared in this scope
    if(a[xx][yy]!='X')
       ^
0_0_25697798_28884.cpp: In function 'int main()':
0_0_25697798_28884.cpp:54:16: error: 'a' was not declared in this scope
           cin>>a[i][j];
                ^
0_0_25697798_28884.cpp:57:11: error: 'else' without a previous 'if'
           else if(a[i][j]=='D')
           ^
0_0_25697798_28884.cpp:59:11: error: 'else' without a previous 'if'
           else if(a[i][j]=='X')
           ^
0_0_25697798_28884.cpp:69:3: error: 'a' was not declared in this scope
   a[sx][sy]='X';
   ^


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-12-02 17:03:06, Gzip enabled