0_0_18098460_16406.cpp: In function 'bb dfs(int, int)':
0_0_18098460_16406.cpp:77:21: error: cannot convert '__gnu_cxx::__alloc_traits<std::allocator<II> >::value_type {aka II}' to 'int' in initialization
int next=G[node][i];
^
0_0_18098460_16406.cpp:79:18: error: request for member 'to' in 'next', which is of non-class type 'int'
bb go=dfs(next.to,node);
^
0_0_18098460_16406.cpp:80:15: error: request for member 'cost' in 'next', which is of non-class type 'int'
go.v1-=next.cost,go.v2-=2*next.cost;
^
0_0_18098460_16406.cpp:80:34: error: request for member 'cost' in 'next', which is of non-class type 'int'
go.v1-=next.cost,go.v2-=2*next.cost;
^
|