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_24662925_21939.cpp: In function 'void add_edge(int, int)':
0_0_24662925_21939.cpp:22:5: error: 'nxt' was not declared in this scope
     nxt[e]=fir[s];
     ^
0_0_24662925_21939.cpp: In function 'void update(int, int)':
0_0_24662925_21939.cpp:29:19: error: invalid conversion from 'int (*)(int)' to 'int' [-fpermissive]
     for(;x<=maxn;x+=lowbit)c[x]+=val;
                   ^
0_0_24662925_21939.cpp: In function 'void dfs1(int, int, int)':
0_0_24662925_21939.cpp:44:45: error: expected ']' before ')' token
             if(son[k]==-1||siz[e]>siz[son[k])son[k]=e;
                                             ^
0_0_24662925_21939.cpp: In function 'void dfs2(int, int)':
0_0_24662925_21939.cpp:56:27: error: 'dfss' was not declared in this scope
             dfss(v[i],v[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-23 02:12:29, Gzip enabled