0_0_20964460_7738.cpp:9:20: error: stray '#' in program
const int maxn=1e4+10;
^
0_0_20964460_7738.cpp:10:20: error: stray '#' in program
const int maxm=5e5+10;
^
0_0_20964460_7738.cpp:22:20: error: stray '#' in program
for(i=0;i<=n;i++){f[i]=i;g[i]=1;}
^
0_0_20964460_7738.cpp:22:25: error: stray '#' in program
for(i=0;i<=n;i++){f[i]=i;g[i]=1;}
^
0_0_20964460_7738.cpp:35:24: error: stray '#' in program
for(i=1;i<=m;i++)
^
0_0_20964460_7738.cpp:35:29: error: stray '#' in program
for(i=1;i<=m;i++)
^
0_0_20964460_7738.cpp:37:18: error: stray '#' in program
sort(e,e+m,cmp);
^
0_0_20964460_7738.cpp:41:24: error: stray '#' in program
for(i=1;i<=m;i++)
^
0_0_20964460_7738.cpp:41:29: error: stray '#' in program
for(i=1;i<=m;i++)
^
0_0_20964460_7738.cpp:49:65: error: stray '#' in program
ans[i]=ans[i-1]-g[aa]*(g[aa]-1)-g[bb]*(g[bb]-1)+(g[aa]+g[bb]-1)*(g[aa]+g[bb]);
^
0_0_20964460_7738.cpp:49:76: error: stray '#' in program
ans[i]=ans[i-1]-g[aa]*(g[aa]-1)-g[bb]*(g[bb]-1)+(g[aa]+g[bb]-1)*(g[aa]+g[bb]);
^
0_0_20964460_7738.cpp:49:96: error: stray '#' in program
ans[i]=ans[i-1]-g[aa]*(g[aa]-1)-g[bb]*(g[bb]-1)+(g[aa]+g[bb]-1)*(g[aa]+g[bb]);
^
0_0_20964460_7738.cpp:50:23: error: stray '#' in program
g[aa]+=g[bb];
^
0_0_20964460_7738.cpp:55:24: error: stray '#' in program
for(i=1;i<=m;i++)
^
0_0_20964460_7738.cpp:55:29: error: stray '#' in program
for(i=1;i<=m;i++)
^
0_0_20964460_7738.cpp:63:32: error: stray '#' in program
tt=lower_bound(q,q+m,t)-q;
^
0_0_20964460_7738.cpp:9:21: error: invalid operands of types 'double' and 'int' to binary 'operator&'
const int maxn=1e4+10;
^
0_0_20964460_7738.cpp:9:24: error: expected unqualified-id before numeric constant
const int maxn=1e4+10;
^
0_0_20964460_7738.cpp:10:21: error: invalid operands of types 'double' and 'int' to binary 'operator&'
const int maxm=5e5+10;
^
0_0_20964460_7738.cpp:10:24: error: expected unqualified-id before numeric constant
const int maxm=5e5+10;
^
0_0_20964460_7738.cpp:13:8: error: size of array 'e' is not an integral constant-expression
}e[maxm];
^
0_0_20964460_7738.cpp:14:11: error: size of array 'f' is not an integral constant-expression
int f[maxn],n,m,ans[maxm],g[maxn],q[maxm];
^
0_0_20964460_7738.cpp:14:25: error: size of array 'ans' is not an integral constant-expression
int f[maxn],n,m,ans[maxm],g[maxn],q[maxm];
^
0_0_20964460_7738.cpp:14:33: error: size of array 'g' is not an integral constant-expression
int f[maxn],n,m,ans[maxm],g[maxn],q[maxm];
^
0_0_20964460_7738.cpp:14:41: error: size of array 'q' is not an integral constant-expression
int f[maxn],n,m,ans[maxm],g[maxn],q[maxm];
^
0_0_20964460_7738.cpp: In function 'void init()':
0_0_20964460_7738.cpp:22:23: error: expected ')' before ';' token
for(i=0;i<=n;i++){f[i]=i;g[i]=1;}
^
0_0_20964460_7738.cpp:22:26: error: lvalue required as unary '&' operand
for(i=0;i<=n;i++){f[i]=i;g[i]=1;}
^
0_0_20964460_7738.cpp:22:29: error: expected primary-expression before ')' token
for(i=0;i<=n;i++){f[i]=i;g[i]=1;}
^
0_0_20964460_7738.cpp: In function 'int main()':
0_0_20964460_7738.cpp:35:27: error: expected ')' before ';' token
for(i=1;i<=m;i++)
^
0_0_20964460_7738.cpp:35:30: error: lvalue required as unary '&' operand
for(i=1;i<=m;i++)
^
0_0_20964460_7738.cpp:35:33: error: expected primary-expression before ')' token
for(i=1;i<=m;i++)
^
0_0_20964460_7738.cpp:37:19: error: invalid operands of types 'node [1]' and 'int' to binary 'operator&'
sort(e,e+m,cmp);
^
0_0_20964460_7738.cpp:37:27: error: expected ';' before ')' token
sort(e,e+m,cmp);
^
0_0_20964460_7738.cpp:41:27: error: expected ')' before ';' token
for(i=1;i<=m;i++)
^
0_0_20964460_7738.cpp:41:30: error: lvalue required as unary '&' operand
for(i=1;i<=m;i++)
^
0_0_20964460_7738.cpp:41:33: error: expected primary-expression before ')' token
for(i=1;i<=m;i++)
^
0_0_20964460_7738.cpp:55:27: error: expected ')' before ';' token
for(i=1;i<=m;i++)
^
0_0_20964460_7738.cpp:55:30: error: lvalue required as unary '&' operand
for(i=1;i<=m;i++)
^
0_0_20964460_7738.cpp:55:33: error: expected primary-expression before ')' token
for(i=1;i<=m;i++)
^
0_0_20964460_7738.cpp:63:33: error: invalid operands of types 'int [1]' and 'int' to binary 'operator&'
tt=lower_bound(q,q+m,t)-q;
^
0_0_20964460_7738.cpp:63:39: error: expected ';' before ')' token
tt=lower_bound(q,q+m,t)-q;
^
|