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_34225401_14325.cpp: In function 'int main()':
0_0_34225401_14325.cpp:22:11: error: 'cinin' was not declared in this scope
     while(cinin >> father;
           ^
0_0_34225401_14325.cpp:22:20: error: 'father' was not declared in this scope
     while(cinin >> father;
                    ^
0_0_34225401_14325.cpp:22:26: error: expected ')' before ';' token
     while(cinin >> father;
                          ^
0_0_34225401_14325.cpp:28:22: error: 'father' was not declared in this scope
             children[father].clear();
                      ^
0_0_34225401_14325.cpp: At global scope:
0_0_34225401_14325.cpp:38:9: error: expected unqualified-id before 'while'
         while(hasFather[i])  ++i;
         ^
0_0_34225401_14325.cpp:39:12: error: expected constructor, destructor, or type conversion before '(' token
         dfs(i);
            ^
0_0_34225401_14325.cpp:40:9: error: 'cout' does not name a type
         cout << min(dp[i][0], dp[i][1]) << endl;
         ^
0_0_34225401_14325.cpp:41:5: error: expected declaration before '}' token
     }
     ^


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-12-05 10:13:11, Gzip enabled