0_0_27684460_19866.cpp: In member function 'void FordFulkerson::ClearAll(int, int)':
0_0_27684460_19866.cpp:55:27: error: no matching function for call to 'std::vector<int>::swap(std::vector<int>)'
a.swap(vector<int>(vNum));
^
0_0_27684460_19866.cpp:55:27: note: candidate is:
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++/queue:61,
from 0_0_27684460_19866.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1194:7: note: void std::vector<_Tp, _Alloc>::swap(std::vector<_Tp, _Alloc>&) [with _Tp = int; _Alloc = std::allocator<int>]
swap(vector& __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1194:7: note: no known conversion for argument 1 from 'std::vector<int>' to 'std::vector<int>&'
0_0_27684460_19866.cpp:56:27: error: no matching function for call to 'std::vector<int>::swap(std::vector<int>)'
p.swap(vector<int>(vNum));
^
0_0_27684460_19866.cpp:56:27: note: candidate is:
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++/queue:61,
from 0_0_27684460_19866.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1194:7: note: void std::vector<_Tp, _Alloc>::swap(std::vector<_Tp, _Alloc>&) [with _Tp = int; _Alloc = std::allocator<int>]
swap(vector& __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1194:7: note: no known conversion for argument 1 from 'std::vector<int>' to 'std::vector<int>&'
0_0_27684460_19866.cpp: In member function 'bool FordFulkerson::DFS()':
0_0_27684460_19866.cpp:85:27: error: no matching function for call to 'std::vector<int>::swap(std::vector<int>)'
a.swap(vector<int>(vNum));
^
0_0_27684460_19866.cpp:85:27: note: candidate is:
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++/queue:61,
from 0_0_27684460_19866.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1194:7: note: void std::vector<_Tp, _Alloc>::swap(std::vector<_Tp, _Alloc>&) [with _Tp = int; _Alloc = std::allocator<int>]
swap(vector& __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1194:7: note: no known conversion for argument 1 from 'std::vector<int>' to 'std::vector<int>&'
0_0_27684460_19866.cpp: In member function 'void EdmondsKarp::ClearAll(int, int)':
0_0_27684460_19866.cpp:140:27: error: no matching function for call to 'std::vector<int>::swap(std::vector<int>)'
a.swap(vector<int>(vNum));
^
0_0_27684460_19866.cpp:140:27: note: candidate is:
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++/queue:61,
from 0_0_27684460_19866.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1194:7: note: void std::vector<_Tp, _Alloc>::swap(std::vector<_Tp, _Alloc>&) [with _Tp = int; _Alloc = std::allocator<int>]
swap(vector& __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1194:7: note: no known conversion for argument 1 from 'std::vector<int>' to 'std::vector<int>&'
0_0_27684460_19866.cpp:141:27: error: no matching function for call to 'std::vector<int>::swap(std::vector<int>)'
p.swap(vector<int>(vNum));
^
0_0_27684460_19866.cpp:141:27: note: candidate is:
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++/queue:61,
from 0_0_27684460_19866.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1194:7: note: void std::vector<_Tp, _Alloc>::swap(std::vector<_Tp, _Alloc>&) [with _Tp = int; _Alloc = std::allocator<int>]
swap(vector& __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1194:7: note: no known conversion for argument 1 from 'std::vector<int>' to 'std::vector<int>&'
0_0_27684460_19866.cpp: In member function 'bool EdmondsKarp::BFS()':
0_0_27684460_19866.cpp:171:27: error: no matching function for call to 'std::vector<int>::swap(std::vector<int>)'
a.swap(vector<int>(vNum));
^
0_0_27684460_19866.cpp:171:27: note: candidate is:
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++/queue:61,
from 0_0_27684460_19866.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1194:7: note: void std::vector<_Tp, _Alloc>::swap(std::vector<_Tp, _Alloc>&) [with _Tp = int; _Alloc = std::allocator<int>]
swap(vector& __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1194:7: note: no known conversion for argument 1 from 'std::vector<int>' to 'std::vector<int>&'
0_0_27684460_19866.cpp: In member function 'void Dinic::ClearAll(int, int)':
0_0_27684460_19866.cpp:227:30: error: no matching function for call to 'std::vector<bool>::swap(std::vector<bool>)'
vis.swap(vector<bool>(vNum));
^
0_0_27684460_19866.cpp:227:30: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:65:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:61,
from 0_0_27684460_19866.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:846:5: note: void std::vector<bool, _Alloc>::swap(std::vector<bool, _Alloc>&) [with _Alloc = std::allocator<bool>]
swap(vector& __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:846:5: note: no known conversion for argument 1 from 'std::vector<bool>' to 'std::vector<bool>&'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:861:5: note: static void std::vector<bool, _Alloc>::swap(std::vector<bool, _Alloc>::reference, std::vector<bool, _Alloc>::reference) [with _Alloc = std::allocator<bool>; std::vector<bool, _Alloc>::reference = std::_Bit_reference]
swap(reference __x, reference __y) _GLIBCXX_NOEXCEPT
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:861:5: note: candidate expects 2 arguments, 1 provided
0_0_27684460_19866.cpp:228:27: error: no matching function for call to 'std::vector<int>::swap(std::vector<int>)'
d.swap(vector<int>(vNum));
^
0_0_27684460_19866.cpp:228:27: note: candidate is:
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++/queue:61,
from 0_0_27684460_19866.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1194:7: note: void std::vector<_Tp, _Alloc>::swap(std::vector<_Tp, _Alloc>&) [with _Tp = int; _Alloc = std::allocator<int>]
swap(vector& __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1194:7: note: no known conversion for argument 1 from 'std::vector<int>' to 'std::vector<int>&'
0_0_27684460_19866.cpp:229:29: error: no matching function for call to 'std::vector<int>::swap(std::vector<int>)'
cur.swap(vector<int>(vNum));
^
0_0_27684460_19866.cpp:229:29: note: candidate is:
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++/queue:61,
from 0_0_27684460_19866.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1194:7: note: void std::vector<_Tp, _Alloc>::swap(std::vector<_Tp, _Alloc>&) [with _Tp = int; _Alloc = std::allocator<int>]
swap(vector& __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1194:7: note: no known conversion for argument 1 from 'std::vector<int>' to 'std::vector<int>&'
0_0_27684460_19866.cpp:231:27: error: no matching function for call to 'std::vector<int>::swap(std::vector<int>)'
p.swap(vector<int>(vNum));
^
0_0_27684460_19866.cpp:231:27: note: candidate is:
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++/queue:61,
from 0_0_27684460_19866.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1194:7: note: void std::vector<_Tp, _Alloc>::swap(std::vector<_Tp, _Alloc>&) [with _Tp = int; _Alloc = std::allocator<int>]
swap(vector& __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1194:7: note: no known conversion for argument 1 from 'std::vector<int>' to 'std::vector<int>&'
0_0_27684460_19866.cpp: In member function 'long long int Dinic::Maxflow(int, int, long long int)':
0_0_27684460_19866.cpp:251:30: error: no matching function for call to 'std::vector<int>::swap(std::vector<int>)'
cur.swap(vector<int>(vNum));
^
0_0_27684460_19866.cpp:251:30: note: candidate is:
In
|