0_0_33637098_6688.cpp: In member function 'void Dinic::init(int, int, int, int)':
0_0_33637098_6688.cpp:80:25: error: no matching function for call to 'std::vector<Dinic::edge>::resize(int, int)'
e.resize(m+100,0);
^
0_0_33637098_6688.cpp:80:25: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:34,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:49,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:64,
from 0_0_33637098_6688.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:673:7: note: void std::vector<_Tp, _Alloc>::resize(std::vector<_Tp, _Alloc>::size_type) [with _Tp = Dinic::edge; _Alloc = std::allocator<Dinic::edge>; std::vector<_Tp, _Alloc>::size_type = long long unsigned int]
resize(size_type __new_size)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:673:7: note: candidate expects 1 argument, 2 provided
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:693:7: note: void std::vector<_Tp, _Alloc>::resize(std::vector<_Tp, _Alloc>::size_type, const value_type&) [with _Tp = Dinic::edge; _Alloc = std::allocator<Dinic::edge>; std::vector<_Tp, _Alloc>::size_type = long long unsigned int; std::vector<_Tp, _Alloc>::value_type = Dinic::edge]
resize(size_type __new_size, const value_type& __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:693:7: note: no known conversion for argument 2 from 'int' to 'const value_type& {aka const Dinic::edge&}'
|