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_26177283_2088.cpp:14:13: error: template argument 1 is invalid
 double dis[N];
             ^
0_0_26177283_2088.cpp:14:13: error: template argument 2 is invalid
0_0_26177283_2088.cpp: In function 'void init()':
0_0_26177283_2088.cpp:28:9: error: 'head' was not declared in this scope
         head[i]=0;
         ^
0_0_26177283_2088.cpp:29:9: error: 'dis' was not declared in this scope
         dis[i]=inf;
         ^
0_0_26177283_2088.cpp: In function 'void solve()':
0_0_26177283_2088.cpp:47:5: error: 'dis' was not declared in this scope
     dis[1]=0;
     ^
0_0_26177283_2088.cpp:58:15: error: 'head' was not declared in this scope
         for(i=head[u];i;i=edge[i].nex)
               ^
0_0_26177283_2088.cpp:58:27: error: 'edge' was not declared in this scope
         for(i=head[u];i;i=edge[i].nex)
                           ^
0_0_26177283_2088.cpp: In function 'int main()':
0_0_26177283_2088.cpp:95:28: error: 'add' was not declared in this scope
                 add(u,v,a,b);
                            ^


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-25 20:22:20, Gzip enabled