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_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);
                                  ^


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-11-30 12:13:24, Gzip enabled