0_0_20119214_20441.cpp: In function 'int kruscal()':
0_0_20119214_20441.cpp:56:6: error: 'struct edge' has no member named 'select'
e.select = true;
^
0_0_20119214_20441.cpp: In function 'int main()':
0_0_20119214_20441.cpp:91:32: error: no matching function for call to 'edge::edge(int&, int&, ll&, bool)'
G.push_back(edge(u,v,w,false));
^
0_0_20119214_20441.cpp:91:32: note: candidates are:
0_0_20119214_20441.cpp:15:2: note: edge::edge(int, int, ll)
edge(int from, int to, ll w):from(from), to(to),w(w){};
^
0_0_20119214_20441.cpp:15:2: note: candidate expects 3 arguments, 4 provided
0_0_20119214_20441.cpp:14:2: note: edge::edge()
edge(){};
^
0_0_20119214_20441.cpp:14:2: note: candidate expects 0 arguments, 4 provided
0_0_20119214_20441.cpp:11:8: note: constexpr edge::edge(const edge&)
struct edge{
^
0_0_20119214_20441.cpp:11:8: note: candidate expects 1 argument, 4 provided
0_0_20119214_20441.cpp:11:8: note: constexpr edge::edge(edge&&)
0_0_20119214_20441.cpp:11:8: note: candidate expects 1 argument, 4 provided
|