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_35133462_16145.cpp:13:1: error: 'vector' does not name a type
 vector<int> map[1010]; 
 ^
0_0_35133462_16145.cpp: In function 'void Dijkstra(int, int)':
0_0_35133462_16145.cpp:42:13: error: 'map' was not declared in this scope
   for(i=0;i<map[v0].size();i++) 
             ^
0_0_35133462_16145.cpp:55:15: error: 'map' was not declared in this scope
     for(i=0;i<map[u].size();i++)
               ^
0_0_35133462_16145.cpp: In function 'int main()':
0_0_35133462_16145.cpp:74:23: error: 'map' was not declared in this scope
     for(i=0;i<=n;i++) map[i].clear();
                       ^
0_0_35133462_16145.cpp:82:20: error: 'map' was not declared in this scope
         v=find(s2);map[v].push_back(u);
                    ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001001(s) query 1, Server time : 2025-01-10 03:12:51, Gzip enabled