0_0_25970393_13095.cpp:10:26: error: 'node' has not been declared
friend bool operator < (node a,node b)
^
0_0_25970393_13095.cpp:10:33: error: 'node' has not been declared
friend bool operator < (node a,node b)
^
0_0_25970393_13095.cpp:10:39: error: 'bool operator<(int, int)' must have an argument of class or enumerated type
friend bool operator < (node a,node b)
^
0_0_25970393_13095.cpp: In function 'bool unions(int, int)':
0_0_25970393_13095.cpp:30:9: error: 'f' was not declared in this scope
f[x] = y;
^
0_0_25970393_13095.cpp: In function 'int kruskal(int, int)':
0_0_25970393_13095.cpp:37:14: error: expected primary-expression before ',' token
sort(edge,edge+m);
^
0_0_25970393_13095.cpp:37:19: error: expected primary-expression before '+' token
sort(edge,edge+m);
^
0_0_25970393_13095.cpp:37:21: error: 'sort' was not declared in this scope
sort(edge,edge+m);
^
0_0_25970393_13095.cpp:44:24: error: expected primary-expression before '[' token
if(!unions(edge[i].u,edge[i].v))
^
0_0_25970393_13095.cpp:44:34: error: expected primary-expression before '[' token
if(!unions(edge[i].u,edge[i].v))
^
0_0_25970393_13095.cpp:47:22: error: expected primary-expression before '[' token
res+=edge[i].r;
^
|