0_0_22500815_2431.cpp: In function 'void add(int, int)':
0_0_22500815_2431.cpp:34:26: error: 'void add(int, int)' redeclared as different kind of symbol
void add(int pos, int num){
^
0_0_22500815_2431.cpp:16:5: note: previous declaration 'int add [200010]'
int add[N];
^
0_0_22500815_2431.cpp: In function 'void init()':
0_0_22500815_2431.cpp:86:15: error: 'j' was not declared in this scope
if(!vis[i * j]) continue;
^
0_0_22500815_2431.cpp: In function 'void step2()':
0_0_22500815_2431.cpp:135:19: error: 'add' cannot be used as a function
add(L[r] + 1, 1);
^
0_0_22500815_2431.cpp:137:22: error: 'add' cannot be used as a function
add(L[it] + 1, -1);
^
0_0_22500815_2431.cpp:138:18: error: 'add' cannot be used as a function
add(it + 1, 1);
^
|