0_0_38657738_3453.cpp: In function 'int bellman()':
0_0_38657738_3453.cpp:19:12: error: reference to 'size' is ambiguous
low[i]=size;
^~~~
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/string:51,
from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/locale_classes.h:40,
from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/ios_base.h:41,
from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/ios:42,
from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/ostream:38,
from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/iostream:39,
from 0_0_38657738_3453.cpp:1:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/range_access.h:252:5: note: candidates are: 'template<class _Tp, long long unsigned int _Nm> constexpr std::size_t std::size(const _Tp (&)[_Nm])'
size(const _Tp (&/*__array*/)[_Nm]) noexcept
^~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/range_access.h:242:5: note: 'template<class _Container> constexpr decltype (__cont.size()) std::size(const _Container&)'
size(const _Container& __cont) noexcept(noexcept(__cont.size()))
^~~~
0_0_38657738_3453.cpp:4:11: note: 'const int size'
const int size=99999999;
^~~~
|