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_16630289_13985.cpp: In function 'void Dijstra(int)':
0_0_16630289_13985.cpp:50:44: error: 'to' was not declared in this scope
                 PQ.push((HeapNode){d[e.to],to});
                                            ^
0_0_16630289_13985.cpp: In function 'int main()':
0_0_16630289_13985.cpp:80:53: error: 'Addedge' was not declared in this scope
                     Addedge(a[j],a[k],Abs(a[j]-a[k]));
                                                     ^
0_0_16630289_13985.cpp:85:38: error: 'Addedge' was not declared in this scope
                 Addedge(a[j],a[j+1],1);
                                      ^
0_0_16630289_13985.cpp:92:13: error: expected '}' at end of input
     return 0;
             ^


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-26 02:58:30, Gzip enabled