0_0_20998302_25700.cpp:38:1: error: '__int64' does not name a type
__int64 ans;
^
0_0_20998302_25700.cpp:40:1: error: 'vector' does not name a type
vector<pii> p[N];
^
0_0_20998302_25700.cpp:41:1: error: 'vector' does not name a type
vector<pii> depV;
^
0_0_20998302_25700.cpp: In function 'void findRoot(int, int)':
0_0_20998302_25700.cpp:45:8: error: 'p' was not declared in this scope
FI(p[root].size()){
^
0_0_20998302_25700.cpp:45:22: error: 'FI' was not declared in this scope
FI(p[root].size()){
^
0_0_20998302_25700.cpp:53:46: error: 'max' was not declared in this scope
dp[root] = max(dp[root],all - nodes[root]);
^
0_0_20998302_25700.cpp: In function 'int getRoot(int, int)':
0_0_20998302_25700.cpp:59:11: error: 'INF' was not declared in this scope
num = INF;all = sn;center = root;
^
0_0_20998302_25700.cpp: In function 'void getDp(int, int)':
0_0_20998302_25700.cpp:65:5: error: 'depV' was not declared in this scope
depV.push_back(mp(xx[root],root));
^
0_0_20998302_25700.cpp:65:36: error: 'mp' was not declared in this scope
depV.push_back(mp(xx[root],root));
^
0_0_20998302_25700.cpp:67:8: error: 'p' was not declared in this scope
FI(p[root].size()){
^
0_0_20998302_25700.cpp:67:22: error: 'FI' was not declared in this scope
FI(p[root].size()){
^
0_0_20998302_25700.cpp: In function 'int getIndex(int)':
0_0_20998302_25700.cpp:78:42: error: 'lower_bound' was not declared in this scope
return lower_bound(mymap,mymap + no,x) - mymap;
^
0_0_20998302_25700.cpp: At global scope:
0_0_20998302_25700.cpp:80:1: error: '__int64' does not name a type
__int64 cal(int root,bool isfirst){
^
0_0_20998302_25700.cpp: In function 'void work(int, int)':
0_0_20998302_25700.cpp:102:5: error: 'ans' was not declared in this scope
ans += cal(root,true);
^
0_0_20998302_25700.cpp:102:25: error: 'cal' was not declared in this scope
ans += cal(root,true);
^
0_0_20998302_25700.cpp:103:8: error: 'p' was not declared in this scope
FI(p[root].size()){
^
0_0_20998302_25700.cpp:103:22: error: 'FI' was not declared in this scope
FI(p[root].size()){
^
0_0_20998302_25700.cpp: In function 'int main()':
0_0_20998302_25700.cpp:113:14: error: 'S' was not declared in this scope
while(S(T)!=EOF)
^
0_0_20998302_25700.cpp:113:17: error: 'EOF' was not declared in this scope
while(S(T)!=EOF)
^
0_0_20998302_25700.cpp:116:19: error: 'S2' was not declared in this scope
S2(n,k);
^
0_0_20998302_25700.cpp:117:13: error: 'ans' was not declared in this scope
ans = 0;
^
0_0_20998302_25700.cpp:118:17: error: 'FI' was not declared in this scope
FI(n) p[i + 1].clear(),vis[i + 1] = false;
^
0_0_20998302_25700.cpp:126:37: error: 'printf' was not declared in this scope
printf("%I64d\n",ans * 2);
^
|