0_0_35588897_19728.cpp: In function 'void build(int, int, int)':
0_0_35588897_19728.cpp:46:10: error: reference to 'array' is ambiguous
if(array[left]) {
^
0_0_35588897_19728.cpp:16:5: note: candidates are: int array [111111]
int array[MAX];
^
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++/functional:55,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:70,
from 0_0_35588897_19728.cpp:5:
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_35588897_19728.cpp: In function 'int main()':
0_0_35588897_19728.cpp:111:24: error: reference to 'array' is ambiguous
scanf("%d",&array[i]);
^
0_0_35588897_19728.cpp:16:5: note: candidates are: int array [111111]
int array[MAX];
^
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++/functional:55,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:70,
from 0_0_35588897_19728.cpp:5:
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
^
|