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_21853627_7584.cpp:17:1: error: 'Edge' does not name a type
 Edge e[maxn*2];
 ^
0_0_21853627_7584.cpp:23:1: error: 'ST' does not name a type
 ST st;
 ^
0_0_21853627_7584.cpp: In function 'void addedge(int, int)':
0_0_21853627_7584.cpp:116:5: error: 'e' was not declared in this scope
     e[Edgetot].to=v;
     ^
0_0_21853627_7584.cpp: In function 'void dfs(int, int, int)':
0_0_21853627_7584.cpp:126:31: error: 'e' was not declared in this scope
     for(int i=head[u];i!=-1;i=e[i].next){
                               ^
0_0_21853627_7584.cpp: In function 'void LCA_init(int, int)':
0_0_21853627_7584.cpp:138:5: error: 'st' was not declared in this scope
     st.init(2*node_num-1);
     ^
0_0_21853627_7584.cpp: In function 'int query_lca(int, int)':
0_0_21853627_7584.cpp:141:14: error: 'st' was not declared in this scope
     return F[st.query(p[u],p[v])];
              ^
0_0_21853627_7584.cpp: In function 'void dfs_build(int, int)':
0_0_21853627_7584.cpp:148:31: error: 'e' was not declared in this scope
     for(int i=head[u];i!=-1;i=e[i].next){
                               ^


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-12-02 07:36:23, Gzip enabled