0_0_37809140_22567.cpp: In member function 'void Kruscal::edge::add()':
0_0_37809140_22567.cpp:165:20: error: expected ';' before ',' token
using Solve::son,Solve::fa;
^
0_0_37809140_22567.cpp:165:20: error: expected primary-expression before ',' token
0_0_37809140_22567.cpp:166:11: error: invalid types 'long long int[long long int]' for array subscript
fa[0][u]=fa[0][v]=s;son[s][0]=u,son[s][1]=v;
^
0_0_37809140_22567.cpp:166:20: error: invalid types 'long long int[long long int]' for array subscript
fa[0][u]=fa[0][v]=s;son[s][0]=u,son[s][1]=v;
^
0_0_37809140_22567.cpp: In function 'int main()':
0_0_37809140_22567.cpp:187:19: error: expected ';' before ',' token
using Solve::val,Solve::tre,Solve::type;
^
0_0_37809140_22567.cpp:187:19: error: expected primary-expression before ',' token
0_0_37809140_22567.cpp:188:7: error: 'tre' was not declared in this scope
mem(tre),mem(b);
^
0_0_37809140_22567.cpp:6:24: note: in definition of macro 'mem'
#define mem(a) memset((a),0,sizeof(a))
^
0_0_37809140_22567.cpp:188:7: note: suggested alternative:
mem(tre),mem(b);
^
0_0_37809140_22567.cpp:6:24: note: in definition of macro 'mem'
#define mem(a) memset((a),0,sizeof(a))
^
0_0_37809140_22567.cpp:42:21: note: 'Solve::tre'
int type[N],val[N],tre[N][11];
^
0_0_37809140_22567.cpp:190:9: error: 'type' was not declared in this scope
read(type[i]);
^
0_0_37809140_22567.cpp:190:9: note: suggested alternative:
0_0_37809140_22567.cpp:42:6: note: 'Solve::type'
int type[N],val[N],tre[N][11];
^
|