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_35874754_25332.cpp: In function 'void BFS(int, int)':
0_0_35874754_25332.cpp:32:10: error: expected primary-expression before ')' token
          )
          ^
0_0_35874754_25332.cpp:36:1: error: expected initializer before 'int'
 int x,y,dx,dy;
 ^
0_0_35874754_25332.cpp:40:6: error: 'y' was not declared in this scope
  for(y=0;y<Hy;y++){
      ^
0_0_35874754_25332.cpp:41:7: error: 'x' was not declared in this scope
   for(x=0;x<Wx;x++){
       ^
0_0_35874754_25332.cpp:53:8: error: return-statement with a value, in function returning 'void' [-fpermissive]
 return 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-12-02 07:59:53, Gzip enabled