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_39298349_26322.cpp: In function 'int main()':
0_0_39298349_26322.cpp:23:21: error: too few arguments to function 'void bfs(int, int)'
   23 |                  bfs();
      |                  ~~~^~
0_0_39298349_26322.cpp:12:6: note: declared here
   12 | void bfs(int Start, int End);
      |      ^~~
0_0_39298349_26322.cpp: In function 'void bfs(int, int)':
0_0_39298349_26322.cpp:32:9: error: 'Queue' was not declared in this scope
   32 |         Queue<pos> q;
      |         ^~~~~
0_0_39298349_26322.cpp:32:18: error: expected primary-expression before '>' token
   32 |         Queue<pos> q;
      |                  ^
0_0_39298349_26322.cpp:32:20: error: 'q' was not declared in this scope
   32 |         Queue<pos> q;
      |                    ^
0_0_39298349_26322.cpp:36:23: error: 'qu' was not declared in this scope
   36 |                 cur = qu.front(); //当前楼层为队首
      |                       ^~


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-01 11:55:58, Gzip enabled