0_0_20095638_5137.cpp: In function 'int solve(int, int)':
0_0_20095638_5137.cpp:20:12: error: reference to 'array' is ambiguous
if(array[i]<0) f++;
^
0_0_20095638_5137.cpp:11:5: note: candidates are: int array [10005]
int array[10000+5];
^
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_20095638_5137.cpp:8:
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_20095638_5137.cpp:28:16: error: reference to 'array' is ambiguous
if(array[i]<0)
^
0_0_20095638_5137.cpp:11:5: note: candidates are: int array [10005]
int array[10000+5];
^
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_20095638_5137.cpp:8:
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_20095638_5137.cpp:39:16: error: reference to 'array' is ambiguous
if(array[i]<0)
^
0_0_20095638_5137.cpp:11:5: note: candidates are: int array [10005]
int array[10000+5];
^
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_20095638_5137.cpp:8:
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_20095638_5137.cpp: In function 'int main()':
0_0_20095638_5137.cpp:64:18: error: reference to 'array' is ambiguous
cin>>array[i];
^
0_0_20095638_5137.cpp:11:5: note: candidates are: int array [10005]
int array[10000+5];
^
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_20095638_5137.cpp:8:
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_20095638_5137.cpp:65:16: error: reference to 'array' is ambiguous
if(array[i]==0)
^
0_0_20095638_5137.cpp:11:5: note: candidates are: int array [10005]
int array[10000+5];
^
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_20095638_5137.cpp:8:
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
^
|