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_30287490_2706.cpp: In function 'int getroot(int)':
0_0_30287490_2706.cpp:30:14: error: 'G' was not declared in this scope
   for (int j:G[i]) {
              ^
0_0_30287490_2706.cpp:40:7: error: 'mn' was not declared in this scope
   if (mn[rt]>mn[i])
       ^
0_0_30287490_2706.cpp: At global scope:
0_0_30287490_2706.cpp:46:1: error: 'LL' does not name a type
 LL ans=0;
 ^
0_0_30287490_2706.cpp: In function 'void dfs(int)':
0_0_30287490_2706.cpp:53:13: error: 'G' was not declared in this scope
  for (int j:G[i]) {
             ^
0_0_30287490_2706.cpp: In function 'void calc(int)':
0_0_30287490_2706.cpp:69:9: error: 'pos' was not declared in this scope
   int i=pos[k];
         ^
0_0_30287490_2706.cpp:73:2: error: 'ans' was not declared in this scope
  ans=(ans+dp[1][id(A)]);
  ^
0_0_30287490_2706.cpp: In function 'void solve(int)':
0_0_30287490_2706.cpp:80:13: error: 'G' was not declared in this scope
  for (int j:G[rt])
             ^
0_0_30287490_2706.cpp: In function 'int main()':
0_0_30287490_2706.cpp:91:3: error: 'ans' was not declared in this scope
   ans=m=0;
   ^
0_0_30287490_2706.cpp:106:4: error: 'G' was not declared in this scope
    G[u].push_back(v);
    ^


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-29 12:30:24, Gzip enabled