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_20987870_3643.cpp: In function 'LL dfs(int)':
0_0_20987870_3643.cpp:23:17: error: 'node' was not declared in this scope
     for (vector<node>::iterator i = tree[x].begin(); i != tree[x].end(); i++) {  
                 ^
0_0_20987870_3643.cpp:23:21: error: template argument 1 is invalid
     for (vector<node>::iterator i = tree[x].begin(); i != tree[x].end(); i++) {  
                     ^
0_0_20987870_3643.cpp:23:21: error: template argument 2 is invalid
0_0_20987870_3643.cpp:23:33: error: invalid type in declaration before 'i'
     for (vector<node>::iterator i = tree[x].begin(); i != tree[x].end(); i++) {  
                                 ^
0_0_20987870_3643.cpp:23:33: error: expected ';' before 'i'
0_0_20987870_3643.cpp:23:33: error: 'i' was not declared in this scope
0_0_20987870_3643.cpp:23:72: error: expected ')' before ';' token
     for (vector<node>::iterator i = tree[x].begin(); i != tree[x].end(); i++) {  
                                                                        ^
0_0_20987870_3643.cpp:23:74: error: 'i' was not declared in this scope
     for (vector<node>::iterator i = tree[x].begin(); i != tree[x].end(); i++) {  
                                                                          ^


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-17 03:06:03, Gzip enabled