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_32496785_21862.cpp:8:11: error: array bound is not an integer constant before ']' token
 int d[MAXV];
           ^
0_0_32496785_21862.cpp: In function 'void Dijkstra(int)':
0_0_32496785_21862.cpp:20:10: error: 'd' was not declared in this scope
     fill(d + 1, d + v + 1, INF);
          ^
0_0_32496785_21862.cpp: In function 'int main()':
0_0_32496785_21862.cpp:65:24: error: 'd' was not declared in this scope
             minT = min(d[end[i]], minT);
                        ^


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-30 11:13:44, Gzip enabled