Problem | prefixsums |
---|---|
User | AliLam |
Submission Time | 2025-06-17 16:45:07 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
prefixsums.cpp: In function ‘int main()’:
prefixsums.cpp:20:6: error: ‘psum’ was not declared in this scope
20 | psum[b] = psum[b - 1] + A[b - 1];
| ^~~~
prefixsums.cpp:22:7: error: ‘psum’ was not declared in this scope
22 | int (psum[c] - psum[b-1]);
| ^~~~