0_0_20541115_265.cpp:24:21: error: conflicting declaration 'int k [1111]'
int fa[maxn], k[maxn];
^
0_0_20541115_265.cpp:23:8: note: previous declaration as 'int k'
int n, k, num[maxn];
^
0_0_20541115_265.cpp: In function 'void init()':
0_0_20541115_265.cpp:33:12: error: invalid types 'int[int]' for array subscript
k[i] = 0;
^
0_0_20541115_265.cpp:42:16: error: invalid types 'int[int]' for array subscript
k[y]++;
^
0_0_20541115_265.cpp:47:20: error: invalid types 'int[int]' for array subscript
if(k == k[i])
^
|