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
}
^
|