0_0_33997304_4969.cpp: In function 'int main()':
0_0_33997304_4969.cpp:33:22: error: 'struct node' has no member named 'ty'
if (a[i].ty == 1) {
^
0_0_33997304_4969.cpp:34:42: error: 'lim' was not declared in this scope
int nR = min(R + a[i].w, lim);
^
0_0_33997304_4969.cpp:39:29: error: 'INF' was not declared in this scope
g[j] = -INF;
^
0_0_33997304_4969.cpp:47:43: error: 'lim' was not declared in this scope
int nL = max(L - a[i].w, -lim);
^
0_0_33997304_4969.cpp:52:29: error: 'INF' was not declared in this scope
g[j] = -INF;
^
|