/in/foo.cc: In function 'void dfs(int)':
/in/foo.cc:29:2: error: reference to 'get' is ambiguous
get[++tot]=x;
^~~
/in/foo.cc:12:13: note: candidates are: int get [10001]
int w[maxn],get[maxn],tot,deep[maxn],f[110][110][55][2];
^~~
In file included from /usr/include/c++/6/algorithm:60:0,
from /in/foo.cc:4:
/usr/include/c++/6/utility:212:5: note: template<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
^~~
/usr/include/c++/6/utility:207:5: note: template<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
^~~
/usr/include/c++/6/utility:202:5: note: template<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
^~~
/in/foo.cc:38:13: error: reference to 'get' is ambiguous
f[x][get[j]][k][0]+=f[v][get[j]][0][0];//Ô¤´¦Àí£¬µÚÈýάÊÇ0ÊÇÒòΪǰÃæÑ¡Íêk¸öÁË
^~~
/in/foo.cc:12:13: note: candidates are: int get [10001]
int w[maxn],get[maxn],tot,deep[maxn],f[110][110][55][2];
^~~
In file included from /usr/include/c++/6/algorithm:60:0,
from /in/foo.cc:4:
/usr/include/c++/6/utility:212:5: note: template<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
^~~
/usr/include/c++/6/utility:207:5: note: template<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
^~~
/usr/include/c++/6/utility:202:5: note: template<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
^~~
/in/foo.cc:38:33: error: reference to 'get' is ambiguous
f[x][get[j]][k][0]+=f[v][get[j]][0][0];//Ô¤´¦Àí£¬µÚÈýάÊÇ0ÊÇÒòΪǰÃæÑ¡Íêk¸öÁË
^~~
/in/foo.cc:12:13: note: candidates are: int get [10001]
int w[maxn],get[maxn],tot,deep[maxn],f[110][110][55][2];
^~~
In file included from /usr/include/c++/6/algorithm:60:0,
from /in/foo.cc:4:
/usr/include/c++/6/utility:212:5: note: template<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
^~~
/usr/include/c++/6/utility:207:5: note: template<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
^~~
/usr/include/c++/6/utility:202:5: note: template<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
^~~
/in/foo.cc:39:10: error: reference to 'get' is ambiguous
f[x][get[j]][k][1]+=f[v][x][0][0];//cout<<f[0][0][m][0]<<endl;
^~~
/in/foo.cc:12:13: note: candidates are: int get [10001]
int w[maxn],get[maxn],tot,deep[maxn],f[110][110][55][2];
^~~
In file included from /usr/include/c++/6/algorithm:60:0,
from /in/foo.cc:4:
/usr/include/c++/6/utility:212:5: note: template<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
^~~
/usr/include/c++/6/utility:207:5: note: template<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
^~~
/usr/include/c++/6/utility:202:5: note: template<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
^~~
/in/foo.cc:42:14: error: reference to 'get' is ambiguous
f[x][get[j]][k][0]=min(f[x][get[j]][k][0],f[x][get[j]][k-d][0]+f[v][get[j]][d][0]);
^~~
/in/foo.cc:12:13: note: candidates are: int get [10001]
int w[maxn],get[maxn],tot,deep[maxn],f[110][110][55][2];
^~~
In file included from /usr/include/c++/6/algorithm:60:0,
from /in/foo.cc:4:
/usr/include/c++/6/utility:212:5: note: template<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
^~~
/usr/include/c++/6/utility:207:5: note: template<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
^~~
/usr/include/c++/6/utility:202:5: note: template<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
^~~
/in/foo.cc:42:37: error: reference to 'get' is ambiguous
f[x][get[j]][k][0]=min(f[x][get[j]][k][0],f[x][get[j]][k-d][0]+f[v][get[j]][d][0]);
^~~
/in/foo.cc:12:13: note: candidates are: int get [10001]
int w[maxn],get[maxn],tot,deep[maxn],f[110][110][55][2];
^~~
In file included from /usr/include/c++/6/algorithm:60:0,
from /in/foo.cc:4:
/usr/include/c++/6/utility:212:5: note: template<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
^~~
/usr/include/c++/6/utility:207:5: note: template<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
^~~
/usr/include/c++/6/utility:202:5: note: template<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
^~~
/in/foo.cc:42:56: error: reference to 'get' is ambiguous
f[x][get[j]][k][0]=min(f[x][get[j]][k][0],f[x][get[j]][k-d][0]+f[v][get[j]][d][0]);
^~~
/in/foo.cc:12:13: note: candidates are: int get [10001]
int w[maxn],get[maxn],tot,deep[maxn],f[110][110][55][2];
^~~
In file included from /usr/include/c++/6/algorithm:60:0,
from /in/foo.cc:4:
/usr/include/c++/6/utility:212:5: note: template<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,