0_0_37809131_24981.cpp: In member function 'void Kruscal::edge::add()':
0_0_37809131_24981.cpp:163:20: error: expected ';' before ',' token
using Solve::son,Solve::fa;
^
0_0_37809131_24981.cpp:163:20: error: expected primary-expression before ',' token
0_0_37809131_24981.cpp:164: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_37809131_24981.cpp:164: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_37809131_24981.cpp: In function 'int main()':
0_0_37809131_24981.cpp:185:19: error: expected ';' before ',' token
using Solve::val,Solve::tre,Solve::type;
^
0_0_37809131_24981.cpp:185:19: error: expected primary-expression before ',' token
0_0_37809131_24981.cpp:186:7: error: 'tre' was not declared in this scope
mem(tre),mem(b);
^
0_0_37809131_24981.cpp:6:24: note: in definition of macro 'mem'
#define mem(a) memset((a),0,sizeof(a))
^
0_0_37809131_24981.cpp:186:7: note: suggested alternative:
mem(tre),mem(b);
^
0_0_37809131_24981.cpp:6:24: note: in definition of macro 'mem'
#define mem(a) memset((a),0,sizeof(a))
^
0_0_37809131_24981.cpp:42:21: note: 'Solve::tre'
int type[N],val[N],tre[N][11];
^
0_0_37809131_24981.cpp:188:9: error: 'type' was not declared in this scope
read(type[i]);
^
0_0_37809131_24981.cpp:188:9: note: suggested alternative:
0_0_37809131_24981.cpp:42:6: note: 'Solve::type'
int type[N],val[N],tre[N][11];
^
|