0_0_37389369_27573.cpp:11:19: error: 'maxn' was not declared in this scope
vector<int> G[maxn];
^
0_0_37389369_27573.cpp:12:13: error: 'maxn' was not declared in this scope
int inq[maxn], d[maxn], p[maxn], a[maxn];
^
0_0_37389369_27573.cpp:12:22: error: 'maxn' was not declared in this scope
int inq[maxn], d[maxn], p[maxn], a[maxn];
^
0_0_37389369_27573.cpp:12:31: error: 'maxn' was not declared in this scope
int inq[maxn], d[maxn], p[maxn], a[maxn];
^
0_0_37389369_27573.cpp:12:40: error: 'maxn' was not declared in this scope
int inq[maxn], d[maxn], p[maxn], a[maxn];
^
0_0_37389369_27573.cpp: In member function 'void MCMF::init(int)':
0_0_37389369_27573.cpp:16:39: error: 'G' was not declared in this scope
for (int i = 0; i <= n; i ++) G[i].clear();
^
0_0_37389369_27573.cpp: In member function 'void MCMF::addedge(int, int, int, int)':
0_0_37389369_27573.cpp:23:9: error: 'G' was not declared in this scope
G[from].push_back(m - 2);
^
0_0_37389369_27573.cpp: In member function 'bool MCMF::BellmanFord(int, int, int&, int&)':
0_0_37389369_27573.cpp:27:39: error: 'd' was not declared in this scope
for (int i = 0; i <= n; i ++) d[i] = inf;
^
0_0_37389369_27573.cpp:27:46: error: 'inf' was not declared in this scope
for (int i = 0; i <= n; i ++) d[i] = inf;
^
0_0_37389369_27573.cpp:28:16: error: 'inq' was not declared in this scope
memset(inq, 0, sizeof(inq));
^
0_0_37389369_27573.cpp:29:9: error: 'd' was not declared in this scope
d[s] = 0; inq[s] = 1; p[s] = 0; a[s] = inf;
^
0_0_37389369_27573.cpp:29:31: error: 'p' was not declared in this scope
d[s] = 0; inq[s] = 1; p[s] = 0; a[s] = inf;
^
0_0_37389369_27573.cpp:29:41: error: 'a' was not declared in this scope
d[s] = 0; inq[s] = 1; p[s] = 0; a[s] = inf;
^
0_0_37389369_27573.cpp:29:48: error: 'inf' was not declared in this scope
d[s] = 0; inq[s] = 1; p[s] = 0; a[s] = inf;
^
0_0_37389369_27573.cpp:36:33: error: 'G' was not declared in this scope
for (int i = 0; i < G[u].size(); i ++) {
^
0_0_37389369_27573.cpp: At global scope:
0_0_37389369_27573.cpp:69:4: error: 'maxn' was not declared in this scope
}a[maxn];
^
0_0_37389369_27573.cpp: In function 'void build(int, int, int, int)':
0_0_37389369_27573.cpp:75:24: error: 'a' was not declared in this scope
solver.addedge(a[i].id,a[i].id^1,1,-a[i].w);
^
0_0_37389369_27573.cpp:83:16: error: 'a' was not declared in this scope
if(a[i].r<=a[j].l)
^
0_0_37389369_27573.cpp: In function 'int main()':
0_0_37389369_27573.cpp:110:31: error: 'a' was not declared in this scope
scanf("%d%d%d%d",&a[i].l,&a[i].r,&a[i].w,&a[i].type);
^
|