0_0_28922340_18487.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_28922340_18487.cpp: In function 'int main()':
0_0_28922340_18487.cpp:159: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_28922340_18487.cpp:159: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_28922340_18487.cpp:159: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_28922340_18487.cpp:159: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_28922340_18487.cpp:159: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_28922340_18487.cpp:159: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_28922340_18487.cpp:159: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_28922340_18487.cpp:159: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_28922340_18487.cpp:159: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_28922340_18487.cpp:160:19: error: 'v' was not declared in this scope
node[v]->access();
^
0_0_28922340_18487.cpp:162:34: error: 'd' was not declared in this scope
node[v]->update_add(d);
^
|