Problem | 4russians |
---|---|
User | PlayVoltz |
Submission Time | 2023-09-02 00:52:38 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
4russians.cpp: In function ‘int main()’:
4russians.cpp:34:49: error: ‘S’ was not declared in this scope
34 | dp[i][k][0] = max(dp[i - 1][k][0] + S[i], dp[i - 1][k - 1][1] + Sa[i]);
| ^