0_0_30173299_22181.cpp: In function 'void init()':
0_0_30173299_22181.cpp:20:27: error: reference to 'get' is ambiguous
for(int i=0;i<=10000;i++)get[i]=0;
^
0_0_30173299_22181.cpp:5:48: note: candidates are: int get [10010]
int n,m,T,dis[110][110],s[110],l,mine,minp,sum,get[10010],maxx,cost,lc,ans;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60:0,
from 0_0_30173299_22181.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:153:5: note: template<long long unsigned int _Int, class _Tp1, class _Tp2> constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(const std::pair<_Tp1, _Tp2>&)
get(const std::pair<_Tp1, _Tp2>& __in) noexcept
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:148:5: note: template<long long unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(std::pair<_Tp1, _Tp2>&&)
get(std::pair<_Tp1, _Tp2>&& __in) noexcept
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:143:5: note: template<long long unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(std::pair<_Tp1, _Tp2>&)
get(std::pair<_Tp1, _Tp2>& __in) noexcept
^
0_0_30173299_22181.cpp:43:26: error: reference to 'get' is ambiguous
for(int i=0;i<=cost;i++)get[i]=0;
^
0_0_30173299_22181.cpp:5:48: note: candidates are: int get [10010]
int n,m,T,dis[110][110],s[110],l,mine,minp,sum,get[10010],maxx,cost,lc,ans;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60:0,
from 0_0_30173299_22181.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:153:5: note: template<long long unsigned int _Int, class _Tp1, class _Tp2> constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(const std::pair<_Tp1, _Tp2>&)
get(const std::pair<_Tp1, _Tp2>& __in) noexcept
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:148:5: note: template<long long unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(std::pair<_Tp1, _Tp2>&&)
get(std::pair<_Tp1, _Tp2>&& __in) noexcept
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:143:5: note: template<long long unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(std::pair<_Tp1, _Tp2>&)
get(std::pair<_Tp1, _Tp2>& __in) noexcept
^
0_0_30173299_22181.cpp: In function 'int main()':
0_0_30173299_22181.cpp:59:47: error: reference to 'get' is ambiguous
for(int j=cost-dis[0][i];j>=0;j--)if(j==0||get[j]!=0)
^
0_0_30173299_22181.cpp:5:48: note: candidates are: int get [10010]
int n,m,T,dis[110][110],s[110],l,mine,minp,sum,get[10010],maxx,cost,lc,ans;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60:0,
from 0_0_30173299_22181.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:153:5: note: template<long long unsigned int _Int, class _Tp1, class _Tp2> constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(const std::pair<_Tp1, _Tp2>&)
get(const std::pair<_Tp1, _Tp2>& __in) noexcept
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:148:5: note: template<long long unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(std::pair<_Tp1, _Tp2>&&)
get(std::pair<_Tp1, _Tp2>&& __in) noexcept
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:143:5: note: template<long long unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(std::pair<_Tp1, _Tp2>&)
get(std::pair<_Tp1, _Tp2>& __in) noexcept
^
0_0_30173299_22181.cpp:60:11: error: reference to 'get' is ambiguous
if(get[j+dis[0][i]]<get[j]+s[i])
^
0_0_30173299_22181.cpp:5:48: note: candidates are: int get [10010]
int n,m,T,dis[110][110],s[110],l,mine,minp,sum,get[10010],maxx,cost,lc,ans;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60:0,
from 0_0_30173299_22181.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:153:5: note: template<long long unsigned int _Int, class _Tp1, class _Tp2> constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(const std::pair<_Tp1, _Tp2>&)
get(const std::pair<_Tp1, _Tp2>& __in) noexcept
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:148:5: note: template<long long unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(std::pair<_Tp1, _Tp2>&&)
get(std::pair<_Tp1, _Tp2>&& __in) noexcept
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:143:5: note: template<long long unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(std::pair<_Tp1, _Tp2>&)
get(std::pair<_Tp1, _Tp2>& __in) noexcept
^
0_0_30173299_22181.cpp:60:28: error: reference to 'get' is ambiguous
if(get[j+dis[0][i]]<get[j]+s[i])
^
0_0_30173299_22181.cpp:5:48: note: candidates are: int get [10010]
int n,m,T,dis[110][110],s[110],l,mine,minp,sum,get[10010],maxx,cost,lc,ans;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60:0,
from 0_0_30173299_22181.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:153:5: note: template<long long unsigned int _Int, class _Tp1, class _Tp2> constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(const std::pair<_Tp1, _Tp2>&)
get(const std::pair<_Tp1, _Tp2>& __in) noexcept
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:148:5: note: template<long long unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(std::pair<_Tp1, _Tp2>&&)
get(std::pair<_Tp1, _Tp2>&& __in) noexcept
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:143:5: note: template<long long unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(std::pair<_Tp1, _Tp2>&)
get(std::pair<_Tp1, _Tp2>& __in) noexcept
^
0_0_30173299_22181.cpp:62:9: error: reference to 'get' is ambiguous
get[j+dis[0][i]]=get[j]+s[i];
^
0_0_30173299_22181.cpp:5:48: note: candidates are: int get [10010]
int n,m,T,dis[110][110],s[110],l,mine,minp,sum,get[10010],maxx,cost,lc,ans;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60:0,
from 0_0_30173299_22181.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:153:5: note: template<long long unsigned int _Int, class _Tp1, class _Tp2> constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(const std::pair<_Tp1, _Tp2>&)
get(const std::pair<_Tp1, _Tp2>& __in) noexcept
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:148:5: note: template<long long unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(std::pair<_Tp1, _Tp2>&&)
get(std::pair<_Tp1, _Tp2>&& __in) noexcept
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:143:5: note: template<long long unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(std::pair<_Tp1, _Tp2>&)
get(std::pair<_Tp1, _Tp2>& __in) noexcept
^
0_0_30173299_22181.cpp:62:26: error: reference to 'get' is ambiguous
get[j+dis[0][i]]=get[j]+s[i];
^
0_0_30173299_22181.cpp:5:48: note: candidates are: int get [10010]
int n,m,T,dis[110][110],s[110],l,mine,minp,sum,get[10010],maxx,cost,lc,ans;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60:0,
from 0_0_30173299_22181.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:153:5: note: template<long long unsigned int _Int, class _Tp1, class _Tp2> constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(const std::pair<_Tp1, _Tp2>&)
get(const std::pair<_Tp1, _Tp2>& __in) noexcept
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:148:5: note: template<long long unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(std::pair<_Tp1, _Tp2>&&)
get(std::pair<_Tp1, _Tp2>&& __in) noexcept
^
D:/HDOJ/Co
|