0_0_33659784_20931.cpp: In function 'int main()':
0_0_33659784_20931.cpp:99:20: error: conflicting declaration 'int t'
int s = nn + nm, t = s + 1;
^
0_0_33659784_20931.cpp:88:15: note: previous declaration as 'std::vector<int> t'
vector<int> t(n), x(n);
^
0_0_33659784_20931.cpp:104:26: error: no matching function for call to 'Dinic::adde(int, std::vector<int>&, int)'
flow.adde(i + nn, t, 1);
^
0_0_33659784_20931.cpp:104:26: note: candidate is:
0_0_33659784_20931.cpp:22:7: note: void Dinic::adde(int, int, int)
void adde(int u, int v, int w) {
^
0_0_33659784_20931.cpp:22:7: note: no known conversion for argument 2 from 'std::vector<int>' to 'int'
0_0_33659784_20931.cpp:111:41: error: no matching function for call to 'Dinic::maxflow(int&, std::vector<int>&, int)'
cout << flow.maxflow(s, t, nn + nm + 2) << '\n';
^
0_0_33659784_20931.cpp:111:41: note: candidate is:
0_0_33659784_20931.cpp:46:5: note: ll Dinic::maxflow(int, int, int)
ll maxflow(int s, int t, int n) {
^
0_0_33659784_20931.cpp:46:5: note: no known conversion for argument 2 from 'std::vector<int>' to 'int'
|