0_0_16439023_9676.cpp: In function 'int main()':
0_0_16439023_9676.cpp:22:16: error: reference to 'array' is ambiguous
scanf("%d",&array[i]);
^
0_0_16439023_9676.cpp:13:5: note: candidates are: int array [100010]
int array[maxn];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
from 0_0_16439023_9676.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note: template<class _Tp, long long unsigned int _Nm> struct std::array
struct array
^
0_0_16439023_9676.cpp:26:17: error: reference to 'array' is ambiguous
if(num.count(array[i])){
^
0_0_16439023_9676.cpp:13:5: note: candidates are: int array [100010]
int array[maxn];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
from 0_0_16439023_9676.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note: template<class _Tp, long long unsigned int _Nm> struct std::array
struct array
^
0_0_16439023_9676.cpp:27:13: error: reference to 'array' is ambiguous
vec[num[array[i]]].push_back(i);
^
0_0_16439023_9676.cpp:13:5: note: candidates are: int array [100010]
int array[maxn];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
from 0_0_16439023_9676.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note: template<class _Tp, long long unsigned int _Nm> struct std::array
struct array
^
0_0_16439023_9676.cpp:30:9: error: reference to 'array' is ambiguous
num[array[i]]=cnt++;
^
0_0_16439023_9676.cpp:13:5: note: candidates are: int array [100010]
int array[maxn];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
from 0_0_16439023_9676.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note: template<class _Tp, long long unsigned int _Nm> struct std::array
struct array
^
0_0_16439023_9676.cpp:31:13: error: reference to 'array' is ambiguous
vec[num[array[i]]].clear();
^
0_0_16439023_9676.cpp:13:5: note: candidates are: int array [100010]
int array[maxn];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
from 0_0_16439023_9676.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note: template<class _Tp, long long unsigned int _Nm> struct std::array
struct array
^
0_0_16439023_9676.cpp:32:13: error: reference to 'array' is ambiguous
vec[num[array[i]]].push_back(i);
^
0_0_16439023_9676.cpp:13:5: note: candidates are: int array [100010]
int array[maxn];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
from 0_0_16439023_9676.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note: template<class _Tp, long long unsigned int _Nm> struct std::array
struct array
^
|