0_0_35276121_27703.cpp: In function 'll dfs(int, int, int)':
0_0_35276121_27703.cpp:40:81: error: no matching function for call to 'min(int&, ll&)'
if(c[u][v] > 0 && dep[v] == dep[u] + 1 && (tmp = dfs(v, min(mi, c[u][v]), t))){
^
0_0_35276121_27703.cpp:40:81: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:60:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
from 0_0_35276121_27703.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:194:5: note: template<class _Tp> const _Tp& std::min(const _Tp&, const _Tp&)
min(const _Tp& __a, const _Tp& __b)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:194:5: note: template argument deduction/substitution failed:
0_0_35276121_27703.cpp:40:81: note: deduced conflicting types for parameter 'const _Tp' ('int' and 'll {aka long long int}')
if(c[u][v] > 0 && dep[v] == dep[u] + 1 && (tmp = dfs(v, min(mi, c[u][v]), t))){
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:60:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
from 0_0_35276121_27703.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:240:5: note: template<class _Tp, class _Compare> const _Tp& std::min(const _Tp&, const _Tp&, _Compare)
min(const _Tp& __a, const _Tp& __b, _Compare __comp)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:240:5: note: template argument deduction/substitution failed:
0_0_35276121_27703.cpp:40:81: note: deduced conflicting types for parameter 'const _Tp' ('int' and 'll {aka long long int}')
if(c[u][v] > 0 && dep[v] == dep[u] + 1 && (tmp = dfs(v, min(mi, c[u][v]), t))){
^
|