0_0_37788409_29962.cpp: In function 'int main()':
0_0_37788409_29962.cpp:52:28: error: converting to 'std::vector<std::tuple<int, node> >::value_type {aka std::tuple<int, node>}' from initializer list would use explicit constructor 'constexpr std::tuple<_T1, _T2>::tuple(const _T1&, const _T2&) [with _T1 = int; _T2 = node]'
G[u].push_back({v,{e,p}});
^
|