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