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_21662772_6719.cpp: In function 'void SPFA(int)':
0_0_21662772_6719.cpp:58:5: error: 'Dis' was not declared in this scope
     Dis[source]=0,inque[source]=true;
     ^
0_0_21662772_6719.cpp:65:20: error: 'First' was not declared in this scope
         for (int i=First[u]; i!=-1; i=Next[i])
                    ^
0_0_21662772_6719.cpp:65:39: error: 'Next' was not declared in this scope
         for (int i=First[u]; i!=-1; i=Next[i])
                                       ^
0_0_21662772_6719.cpp:67:21: error: 'V' was not declared in this scope
             if (Dis[V[i]]>Dis[u]+W[i])
                     ^
0_0_21662772_6719.cpp:67:34: error: 'W' was not declared in this scope
             if (Dis[V[i]]>Dis[u]+W[i])
                                  ^


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-17 02:42:54, Gzip enabled