Problem 4russians
User dzuizz
Submission Time 2024-07-02 20:48:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

4russians.cpp: In function ‘int main()’:
4russians.cpp:29:19: error: ‘s’ was not declared in this scope
29 | ans = max(ans, s[i] - c[i - 1] * c[i] - c[i] * c[i + 1]);
| ^
4russians.cpp:29:26: error: ‘c’ was not declared in this scope
29 | ans = max(ans, s[i] - c[i - 1] * c[i] - c[i] * c[i + 1]);
| ^