0_0_36291773_23271.cpp: In function 'void dfs(int, int)':
0_0_36291773_23271.cpp:25:13: error: request for member 'first' in 'e[first]', which is of non-class type 'int'
if(e[x].first != fa && e[x].first){
^
0_0_36291773_23271.cpp:25:33: error: request for member 'first' in 'e[first]', which is of non-class type 'int'
if(e[x].first != fa && e[x].first){
^
0_0_36291773_23271.cpp:26:19: error: request for member 'first' in 'e[first]', which is of non-class type 'int'
int j = e[x].first;
^
0_0_36291773_23271.cpp:28:12: error: request for member 'first' in 'e[first]', which is of non-class type 'int'
dfs(e[x].first,x);
^
0_0_36291773_23271.cpp:30:15: error: request for member 'second' in 'e[first]', which is of non-class type 'int'
else if(e[x].second){
^
0_0_36291773_23271.cpp:31:16: error: request for member 'second' in 'e[first]', which is of non-class type 'int'
int j = e[x].second;
^
0_0_36291773_23271.cpp:33:12: error: request for member 'second' in 'e[first]', which is of non-class type 'int'
dfs(e[x].second,x);
^
|