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_39526969_24314.cpp:27:31: error: redefinition of 'int dep [1000010]'
   27 | int fa[N],son[N],top[N],sz[N],dep[N],L[N],R[N],tot;
      |                               ^~~
0_0_39526969_24314.cpp:25:5: note: 'int dep [1000010]' previously declared here
   25 | int dep[N];
      |     ^~~


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-14 13:40:47, Gzip enabled