answer.code: In member function ‘void MCMF::add(int, int, int, int)’:
answer.code:51:17: error: ‘to’ was not declared in this scope; did you mean ‘tm’?
51 | to[++tot] = v, nxt[tot] = head[u], fl[tot] = dis, w[tot] = c, head[u] = tot;
| ^~
| tm
answer.code:51:22: error: ‘tot’ was not declared in this scope
51 | to[++tot] = v, nxt[tot] = head[u], fl[tot] = dis, w[tot] = c, head[u] = tot;
| ^~~
answer.code:51:32: error: ‘nxt’ was not declared in this scope
51 | to[++tot] = v, nxt[tot] = head[u], fl[tot] = dis, w[tot] = c, head[u] = tot;
| ^~~
answer.code:51:43: error: ‘head’ was not declared in this scope
51 | to[++tot] = v, nxt[tot] = head[u], fl[tot] = dis, w[tot] = c, head[u] = tot;
| ^~~~
answer.code:51:52: error: ‘fl’ was not declared in this scope; did you mean ‘ll’?
51 | to[++tot] = v, nxt[tot] = head[u], fl[tot] = dis, w[tot] = c, head[u] = tot;
| ^~
| ll
answer.code:51:67: error: ‘w’ was not declared in this scope; did you mean ‘wi’?
51 | to[++tot] = v, nxt[tot] = head[u], fl[tot] = dis, w[tot] = c, head[u] = tot;
| ^
| wi
answer.code: In member function ‘bool MCMF::bfs()’:
answer.code:57:25: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
57 | F(i, 1, n) dis[i] = inf;
| ^
answer.code:7:41: note: in definition of macro ‘F’
7 | #define F(i, a, b) for(int i = a; i <= (b); ++i)
| ^
answer.code:57:28: error: ‘dis’ was not declared in this scope; did you mean ‘div’?
57 | F(i, 1, n) dis[i] = inf;
| ^~~
| div
answer.code:58:17: error: ‘dis’ was not declared in this scope; did you mean ‘div’?
58 | dis[s] = 0;
| ^~~
| div
answer.code:58:21: error: ‘s’ was not declared in this scope
58 | dis[s] = 0;
| ^
answer.code:59:24: error: ‘cur’ was not declared in this scope
59 | memcpy(cur, head, sizeof head);
| ^~~
answer.code:59:29: error: ‘head’ was not declared in this scope
59 | memcpy(cur, head, sizeof head);
| ^~~~
answer.code:61:23: error: no matching function for call to ‘std::priority_queue<std::pair<int, int> >::push(<brace-enclosed initializer list>)’
61 | q.push({0, s});
| ~~~~~~^~~~~~~~
In file included from /usr/include/c++/11/queue:64,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:86,
from answer.code:1:
/usr/include/c++/11/bits/stl_queue.h:640:7: note: candidate: ‘void std::priority_queue<_Tp, _Sequence, _Compare>::push(const value_type&) [with _Tp = std::pair<int, int>; _Sequence = std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > >; _Compare = std::less<std::pair<int, int> >; std::priority_queue<_Tp, _Sequence, _Compare>::value_type = std::pair<int, int>]’
640 | push(const value_type& __x)
| ^~~~
/usr/include/c++/11/bits/stl_queue.h:640:30: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘const value_type&’ {aka ‘const std::pair<int, int>&’}
640 | push(const value_type& __x)
| ~~~~~~~~~~~~~~~~~~^~~
/usr/include/c++/11/bits/stl_queue.h:648:7: note: candidate: ‘void std::priority_queue<_Tp, _Sequence, _Compare>::push(std::priority_queue<_Tp, _Sequence, _Compare>::value_type&&) [with _Tp = std::pair<int, int>; _Sequence = std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > >; _Compare = std::less<std::pair<int, int> >; std::priority_queue<_Tp, _Sequence, _Compare>::value_type = std::pair<int, int>]’
648 | push(value_type&& __x)
| ^~~~
/usr/include/c++/11/bits/stl_queue.h:648:25: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘std::priority_queue<std::pair<int, int> >::value_type&&’ {aka ‘std::pair<int, int>&&’}
648 | push(value_type&& __x)
| ~~~~~~~~~~~~~^~~
answer.code:66:47: error: ‘egt’ was not declared in this scope; did you mean ‘eg’?
66 | for(int eg = head[p]; egt; eg = nxt[eg]) {
| ^~~
| eg
answer.code:66:57: error: ‘nxt’ was not declared in this scope
66 | ...