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_27345331_9271.cpp:139:25: error: 'll' does not name a type
 int root,MAX,son[N],sum;ll ans;
                         ^
0_0_27345331_9271.cpp: In function 'void init()':
0_0_27345331_9271.cpp:149:26: error: 'ans' was not declared in this scope
     tot=0;root=0;MAX=INF;ans=0;
                          ^
0_0_27345331_9271.cpp: At global scope:
0_0_27345331_9271.cpp:173:1: error: 'll' does not name a type
 ll get_ans(int u,int len){
 ^
0_0_27345331_9271.cpp: In function 'void dfs(int)':
0_0_27345331_9271.cpp:192:5: error: 'ans' was not declared in this scope
     ans+=get_ans(u,1<<val[u]);
     ^
0_0_27345331_9271.cpp:192:29: error: 'get_ans' was not declared in this scope
     ans+=get_ans(u,1<<val[u]);
                             ^
0_0_27345331_9271.cpp: In function 'int main()':
0_0_27345331_9271.cpp:217:25: error: 'ans' was not declared in this scope
         printf("%lld\n",ans);
                         ^


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-26 23:03:10, Gzip enabled