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_21599253_19733.cpp: In function 'void dfs1(int, int, int)':
0_0_21599253_19733.cpp:3:5: error: 'deep' was not declared in this scope
     deep[k]=d;
     ^
0_0_21599253_19733.cpp:4:5: error: 'fa' was not declared in this scope
     fa[k]=pre;
     ^
0_0_21599253_19733.cpp:5:5: error: 'siz' was not declared in this scope
     siz[k]=1;
     ^
0_0_21599253_19733.cpp:6:15: error: 'fir' was not declared in this scope
     for(int i=fir[k];~i;i=nex[i])
               ^
0_0_21599253_19733.cpp:6:27: error: 'nex' was not declared in this scope
     for(int i=fir[k];~i;i=nex[i])
                           ^
0_0_21599253_19733.cpp:8:15: error: 'v' was not declared in this scope
         int e=v[i];
               ^
0_0_21599253_19733.cpp:13:16: error: 'son' was not declared in this scope
             if(son[k]==-1||siz[son[k]]<siz[e]) son[k]=e;
                ^


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-30 12:37:48, Gzip enabled