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_34040310_23443.cpp:11:1: error: expected initializer before 'int'
 int judge(int x , int y)
 ^
0_0_34040310_23443.cpp: In function 'int dfs(int, int)':
0_0_34040310_23443.cpp:21:5: error: 'dp' was not declared in this scope
  if(dp[x][y] >= 0)
     ^
0_0_34040310_23443.cpp:24:2: error: 'dp' was not declared in this scope
  dp[x][y] = 0;
  ^
0_0_34040310_23443.cpp:31:22: error: 'judge' was not declared in this scope
    if(judge(x+i , y+j))
                      ^
0_0_34040310_23443.cpp: In function 'int main()':
0_0_34040310_23443.cpp:56:5: error: 'dp' was not declared in this scope
     dp[i][j] = -1;
     ^
0_0_34040310_23443.cpp:59:3: error: 'dp' was not declared in this scope
   dp[n][m] = 1;
   ^


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-07-01 17:09:03, Gzip enabled