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_36620933_17362.cpp: In function 'void BFS(int, int)':
0_0_36620933_17362.cpp:13:2: error: 'queue' was not declared in this scope
  queue<Node>q;
  ^
0_0_36620933_17362.cpp:13:12: error: expected primary-expression before '>' token
  queue<Node>q;
            ^
0_0_36620933_17362.cpp:13:13: error: 'q' was not declared in this scope
  queue<Node>q;
             ^
0_0_36620933_17362.cpp:26:36: error: 'M' was not declared in this scope
    if(n.x < H && n.x >= 0 && n.y < M && n.y >= 0)if(m[n.x][n.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-09-30 16:24:10, Gzip enabled