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);
^
|