0_0_39403287_16205.cpp: In function 'int main()':
0_0_39403287_16205.cpp:12:14: error: reference to 'size' is ambiguous
12 | cin>>size;
| ^~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/string:53,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/locale_classes.h:40,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ios_base.h:41,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/ios:44,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/ostream:40,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iostream:41,
from 0_0_39403287_16205.cpp:2:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/range_access.h:274:5: note: candidates are: 'template<class _Tp, long long unsigned int _Nm> constexpr std::size_t std::size(const _Tp (&)[_Nm])'
274 | size(const _Tp (&)[_Nm]) noexcept
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/range_access.h:264:5: note: 'template<class _Container> constexpr decltype (__cont.size()) std::size(const _Container&)'
264 | size(const _Container& __cont) noexcept(noexcept(__cont.size()))
| ^~~~
0_0_39403287_16205.cpp:7:5: note: 'int size'
7 | int size,m,array[100005];
| ^~~~
0_0_39403287_16205.cpp:14:24: error: reference to 'size' is ambiguous
14 | for(int i=1;i<=size;i++){
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/range_access.h:274:5: note: candidates are: 'template<class _Tp, long long unsigned int _Nm> constexpr std::size_t std::size(const _Tp (&)[_Nm])'
274 | size(const _Tp (&)[_Nm]) noexcept
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/range_access.h:264:5: note: 'template<class _Container> constexpr decltype (__cont.size()) std::size(const _Container&)'
264 | size(const _Container& __cont) noexcept(noexcept(__cont.size()))
| ^~~~
0_0_39403287_16205.cpp:7:5: note: 'int size'
7 | int size,m,array[100005];
| ^~~~
0_0_39403287_16205.cpp:15:18: error: reference to 'array' is ambiguous
15 | cin>>array[i];
| ^~~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/uses_allocator_args.h:38,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/memory_resource.h:41,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/string:58:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/tuple:2005:45: note: candidates are: 'template<class _Tp, long long unsigned int _Nm> struct std::array'
2005 | template<typename _Tp, size_t _Nm> struct array;
| ^~~~~
0_0_39403287_16205.cpp:7:12: note: 'int array [100005]'
7 | int size,m,array[100005];
| ^~~~~
0_0_39403287_16205.cpp:16:16: error: reference to 'array' is ambiguous
16 | if(array[i]!=1)is_all_ones=1;
| ^~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/tuple:2005:45: note: candidates are: 'template<class _Tp, long long unsigned int _Nm> struct std::array'
2005 | template<typename _Tp, size_t _Nm> struct array;
| ^~~~~
0_0_39403287_16205.cpp:7:12: note: 'int array [100005]'
7 | int size,m,array[100005];
| ^~~~~
0_0_39403287_16205.cpp:19:16: error: reference to 'size' is ambiguous
19 | if(size%2)puts("Brother");
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/range_access.h:274:5: note: candidates are: 'template<class _Tp, long long unsigned int _Nm> constexpr std::size_t std::size(const _Tp (&)[_Nm])'
274 | size(const _Tp (&)[_Nm]) noexcept
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/range_access.h:264:5: note: 'template<class _Container> constexpr decltype (__cont.size()) std::size(const _Container&)'
264 | size(const _Container& __cont) noexcept(noexcept(__cont.size()))
| ^~~~
0_0_39403287_16205.cpp:7:5: note: 'int size'
7 | int size,m,array[100005];
| ^~~~
0_0_39403287_16205.cpp:24:24: error: reference to 'size' is ambiguous
24 | for(int i=1;i<=size;i++)
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/range_access.h:274:5: note: candidates are: 'template<class _Tp, long long unsigned int _Nm> constexpr std::size_t std::size(const _Tp (&)[_Nm])'
274 | size(const _Tp (&)[_Nm]) noexcept
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/range_access.h:264:5: note: 'template<class _Container> constexpr decltype (__cont.size()) std::size(const _Container&)'
264 | size(const _Container& __cont) noexcept(noexcept(__cont.size()))
| ^~~~
0_0_39403287_16205.cpp:7:5: note: 'int size'
7 | int size,m,array[100005];
| ^~~~
0_0_39403287_16205.cpp:25:25: error: reference to 'array' is ambiguous
25 | xor_result^=array[i];
| ^~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/tuple:2005:45: note: candidates are: 'template<class _Tp, long long unsigned int _Nm> struct std::array'
2005 | template<typename _Tp, size_t _Nm> struct array;
| ^~~~~
0_0_39403287_16205.cpp:7:12: note: 'int array [100005]'
7 | int size,m,array[100005];
| ^~~~~
|