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_17203141_24778.cpp: In function 'void dfs(int, int)':
0_0_17203141_24778.cpp:2:3: error: 'v' was not declared in this scope
   v[x][y] = 1;//
   ^
0_0_17203141_24778.cpp:4:18: error: 'di' was not declared in this scope
     int _x = x + di[i];
                  ^
0_0_17203141_24778.cpp:5:18: error: 'dj' was not declared in this scope
     int _y = y + dj[i];
                  ^
0_0_17203141_24778.cpp: In function 'void dfs(int, int)':
0_0_17203141_24778.cpp:51:6: error: redefinition of 'void dfs(int, int)'
 void dfs(int x,int y){
      ^
0_0_17203141_24778.cpp:1:6: note: 'void dfs(int, int)' previously defined here
 void dfs(int x,int 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-30 07:57:56, Gzip enabled