0_0_16394356_2164.cpp: In member function 'int _edge::edge(int, int, int)':
0_0_16394356_2164.cpp:32:36: error: only constructors take member initializers
edge(int vv, int ww, int nnxt):v(vv),w(ww),nxt(nnxt){}
^
0_0_16394356_2164.cpp: In function 'void add(int, int, int)':
0_0_16394356_2164.cpp:37:32: error: no matching function for call to '_edge::_edge(int&, int&, int&)'
ee[cnt] = _edge(v,w,head[u]); head[u] = cnt++;
^
0_0_16394356_2164.cpp:37:32: note: candidates are:
0_0_16394356_2164.cpp:29:8: note: _edge::_edge()
struct _edge
^
0_0_16394356_2164.cpp:29:8: note: candidate expects 0 arguments, 3 provided
0_0_16394356_2164.cpp:29:8: note: constexpr _edge::_edge(const _edge&)
0_0_16394356_2164.cpp:29:8: note: candidate expects 1 argument, 3 provided
0_0_16394356_2164.cpp:29:8: note: constexpr _edge::_edge(_edge&&)
0_0_16394356_2164.cpp:29:8: note: candidate expects 1 argument, 3 provided
0_0_16394356_2164.cpp:38:32: error: no matching function for call to '_edge::_edge(int&, int, int&)'
ee[cnt] = _edge(u,0,head[v]); head[v] = cnt++;
^
0_0_16394356_2164.cpp:38:32: note: candidates are:
0_0_16394356_2164.cpp:29:8: note: _edge::_edge()
struct _edge
^
0_0_16394356_2164.cpp:29:8: note: candidate expects 0 arguments, 3 provided
0_0_16394356_2164.cpp:29:8: note: constexpr _edge::_edge(const _edge&)
0_0_16394356_2164.cpp:29:8: note: candidate expects 1 argument, 3 provided
0_0_16394356_2164.cpp:29:8: note: constexpr _edge::_edge(_edge&&)
0_0_16394356_2164.cpp:29:8: note: candidate expects 1 argument, 3 provided
|