kralj.cpp:6:22: error: 'std::vector<long long int> index [200002]' redeclared as different kind of entity
6 | vector < ll > index[N];
| ^
In file included from /usr/include/string.h:462,
from /usr/include/c++/11/cstring:42,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:48,
from kralj.cpp:1:
/usr/include/strings.h:61:1: note: previous declaration 'const char* index(const char*, int)'
61 | index (const char *__s, int __c) __THROW
| ^~~~~
kralj.cpp: In function 'int main()':
kralj.cpp:18:22: error: invalid types '<unresolved overloaded function type>[ll {aka long long int}]' for array subscript
18 | index[ind_].push_back(i);
| ^
kralj.cpp:44:43: error: invalid types '<unresolved overloaded function type>[ll {aka long long int}]' for array subscript
44 | for ( ll X : index[r]) {
| ^