0_0_13988261_26153.cpp: In function 'int main()':
0_0_13988261_26153.cpp:29:45: error: 'Max' was not declared in this scope
L[i] = Max(a[i], a[i] + L[i - 1]);
^
0_0_13988261_26153.cpp:31:45: error: 'Max' was not declared in this scope
R[i] = Max(a[i], a[i] + R[i + 1]);
^
0_0_13988261_26153.cpp:35:51: error: 'Max' was not declared in this scope
ans = Max(ans, L[i - 1] + R[i + 1] + p);
^
|