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_24693777_6944.cpp: In function 'void Dijkstra(int)':
0_0_24693777_6944.cpp:16:9: error: 'used' was not declared in this scope
         used[i]=false;  
         ^
0_0_24693777_6944.cpp:25:18: error: 'used' was not declared in this scope
             if( !used[u] && ( v==-1 || d[u]<d[v]) )  
                  ^
0_0_24693777_6944.cpp:28:9: error: 'used' was not declared in this scope
         used[v]=true;  
         ^
0_0_24693777_6944.cpp:31:44: error: 'Min' was not declared in this scope
             d[u]=Min( d[u],d[v]+cost[v][u] );  
                                            ^


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-07-03 18:28:20, Gzip enabled