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_15034902_6900.cpp: In function 'bool bfs()':
0_0_15034902_6900.cpp:30:11: error: 'class std::queue<int>' has no member named 'erase'
         Q.erase(Q.begin());  
           ^
0_0_15034902_6900.cpp:30:19: error: 'class std::queue<int>' has no member named 'begin'
         Q.erase(Q.begin());  
                   ^
0_0_15034902_6900.cpp:33:19: error: 'graph' was not declared in this scope
             int p=graph[tempnode][i];  
                   ^
0_0_15034902_6900.cpp:37:19: error: 'class std::queue<int>' has no member named 'push_back'
                 Q.push_back(p);  
                   ^


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-29 10:36:40, Gzip enabled