0_0_28922351_30734.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_28922351_30734.cpp: In function 'int main()':
0_0_28922351_30734.cpp:160:37: error: 'u' was not declared in this scope
for(int i=1;i<n;i++){ node[u]-="" scanf("%d%d%d",&u,&v,&d);="" u,v,d;="" int="" while(m--){="" scanf("%d",&m);="" dfs(1,1);="" }="" addedge(v,u);="" addedge(u,v);="" scanf("%d%d",&u,&v);="" u,v;="">make_root();
^
0_0_28922351_30734.cpp:160:69: error: expected primary-expression before '=' token
for(int i=1;i<n;i++){ node[u]-="" scanf("%d%d%d",&u,&v,&d);="" u,v,d;="" int="" while(m--){="" scanf("%d",&m);="" dfs(1,1);="" }="" addedge(v,u);="" addedge(u,v);="" scanf("%d%d",&u,&v);="" u,v;="">make_root();
^
0_0_28922351_30734.cpp:160:79: error: expected primary-expression before '=' token
for(int i=1;i<n;i++){ node[u]-="" scanf("%d%d%d",&u,&v,&d);="" u,v,d;="" int="" while(m--){="" scanf("%d",&m);="" dfs(1,1);="" }="" addedge(v,u);="" addedge(u,v);="" scanf("%d%d",&u,&v);="" u,v;="">make_root();
^
0_0_28922351_30734.cpp:160:138: error: expected primary-expression before '=' token
for(int i=1;i<n;i++){ node[u]-="" scanf("%d%d%d",&u,&v,&d);="" u,v,d;="" int="" while(m--){="" scanf("%d",&m);="" dfs(1,1);="" }="" addedge(v,u);="" addedge(u,v);="" scanf("%d%d",&u,&v);="" u,v;="">make_root();
^
0_0_28922351_30734.cpp:160:155: error: expected primary-expression before '=' token
for(int i=1;i<n;i++){ node[u]-="" scanf("%d%d%d",&u,&v,&d);="" u,v,d;="" int="" while(m--){="" scanf("%d",&m);="" dfs(1,1);="" }="" addedge(v,u);="" addedge(u,v);="" scanf("%d%d",&u,&v);="" u,v;="">make_root();
^
0_0_28922351_30734.cpp:160:172: error: expected primary-expression before '=' token
for(int i=1;i<n;i++){ node[u]-="" scanf("%d%d%d",&u,&v,&d);="" u,v,d;="" int="" while(m--){="" scanf("%d",&m);="" dfs(1,1);="" }="" addedge(v,u);="" addedge(u,v);="" scanf("%d%d",&u,&v);="" u,v;="">make_root();
^
0_0_28922351_30734.cpp:160:196: error: expected primary-expression before '=' token
for(int i=1;i<n;i++){ node[u]-="" scanf("%d%d%d",&u,&v,&d);="" u,v,d;="" int="" while(m--){="" scanf("%d",&m);="" dfs(1,1);="" }="" addedge(v,u);="" addedge(u,v);="" scanf("%d%d",&u,&v);="" u,v;="">make_root();
^
0_0_28922351_30734.cpp:160:204: error: expected primary-expression before '=' token
for(int i=1;i<n;i++){ node[u]-="" scanf("%d%d%d",&u,&v,&d);="" u,v,d;="" int="" while(m--){="" scanf("%d",&m);="" dfs(1,1);="" }="" addedge(v,u);="" addedge(u,v);="" scanf("%d%d",&u,&v);="" u,v;="">make_root();
^
0_0_28922351_30734.cpp:160:218: error: 'make_root' was not declared in this scope
for(int i=1;i<n;i++){ node[u]-="" scanf("%d%d%d",&u,&v,&d);="" u,v,d;="" int="" while(m--){="" scanf("%d",&m);="" dfs(1,1);="" }="" addedge(v,u);="" addedge(u,v);="" scanf("%d%d",&u,&v);="" u,v;="">make_root();
^
0_0_28922351_30734.cpp:161:19: error: 'v' was not declared in this scope
node[v]->access();
^
0_0_28922351_30734.cpp:163:34: error: 'd' was not declared in this scope
node[v]->update_add(d);
^
|