Problem prefixsums
User YH
Submission Time 2024-02-12 16:02:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prefixsums.cpp: In function ‘int main()’:
prefixsums.cpp:18:3: error: ‘sum’ was not declared in this scope; did you mean ‘num’?
18 | sum += num;
| ^~~
| num