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_18108739_22165.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_18108739_22165.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_18108739_22165.cpp: In function 'int inMap(int, int)':
0_0_18108739_22165.cpp:13:13: error: lvalue required as left operand of assignment
 if(x>=0 && x=0 && y
             ^
0_0_18108739_22165.cpp:14:1: error: expected ')' before 'return'
 return 1;
 ^
0_0_18108739_22165.cpp: In function 'int bfs(int, int)':
0_0_18108739_22165.cpp:39:27: error: 'memset' was not declared in this scope
 memset(vis, 0 ,sizeof(vis)) ;
                           ^
0_0_18108739_22165.cpp: In function 'int main()':
0_0_18108739_22165.cpp:97:29: error: 'scanf' was not declared in this scope
 while(~scanf("%d %d" ,&n ,&m))
                             ^
0_0_18108739_22165.cpp:106:25: error: 'printf' was not declared in this scope
 printf("%d\n",bfs(sx,sy));
                         ^


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-15 06:12:49, Gzip enabled