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_23218844_11191.cpp:19:1: error: invalid use of template-name 'std::vector' without an argument list
 vector
 ^
0_0_23218844_11191.cpp:23:1: error: invalid use of template-name 'std::queue' without an argument list
 queue
 ^
0_0_23218844_11191.cpp: In function 'int bfs(int, int)':
0_0_23218844_11191.cpp:28:12: error: 'q' was not declared in this scope
     while(!q.empty())
            ^
0_0_23218844_11191.cpp:30:5: error: 'q' was not declared in this scope
     q.push(P(s, 0));
     ^
0_0_23218844_11191.cpp:40:20: error: 'G' was not declared in this scope
         int Size = G[pos].size();
                    ^
0_0_23218844_11191.cpp: In function 'int main()':
0_0_23218844_11191.cpp:75:13: error: 'G' was not declared in this scope
             G[i].clear();
             ^
0_0_23218844_11191.cpp:79:13: error: 'G' was not declared in this scope
             G[x].push_back(P(from, to));
             ^
0_0_23218844_11191.cpp:84:18: error: 'G' was not declared in this scope
             sort(G[i].begin(), G[i].end());
                  ^


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-29 05:44:22, Gzip enabled