F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_31130868_10884.cpp: In function 'void ini(int)':
0_0_31130868_10884.cpp:26:3: error: reference to 'get' is ambiguous
   get[i]=888;
   ^
0_0_31130868_10884.cpp:12:5: note: candidates are: int get [10050]
 int get[maxn];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60:0,
                 from 0_0_31130868_10884.cpp:3:
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_31130868_10884.cpp: In function 'void topo(int)':
0_0_31130868_10884.cpp:46:8: error: reference to 'get' is ambiguous
   ans+=get[now];
        ^
0_0_31130868_10884.cpp:12:5: note: candidates are: int get [10050]
 int get[maxn];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60:0,
                 from 0_0_31130868_10884.cpp:3:
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_31130868_10884.cpp:52:4: error: reference to 'get' is ambiguous
    get[x]=max(get[x],get[now]+1);
    ^
0_0_31130868_10884.cpp:12:5: note: candidates are: int get [10050]
 int get[maxn];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60:0,
                 from 0_0_31130868_10884.cpp:3:
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_31130868_10884.cpp:52:15: error: reference to 'get' is ambiguous
    get[x]=max(get[x],get[now]+1);
               ^
0_0_31130868_10884.cpp:12:5: note: candidates are: int get [10050]
 int get[maxn];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60:0,
                 from 0_0_31130868_10884.cpp:3:
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_31130868_10884.cpp:52:22: error: reference to 'get' is ambiguous
    get[x]=max(get[x],get[now]+1);
                      ^
0_0_31130868_10884.cpp:12:5: note: candidates are: int get [10050]
 int get[maxn];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60:0,
                 from 0_0_31130868_10884.cpp:3:
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
     ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-09-28 19:16:15, Gzip enabled