Problem prefixsums
User mathemactics
Submission Time 2023-11-10 09:30:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prefixsums.cpp: In function ‘int32_t main()’:
prefixsums.cpp:23:15: error: expected ‘;’ before ‘-’ token
23 | for (int i - 0; i < n; i++){
| ^~
| ;
prefixsums.cpp:23:26: error: expected ‘)’ before ‘;’ token
23 | for (int i - 0; i < n; i++){
| ~ ^
| )
prefixsums.cpp:23:28: error: ‘i’ was not declared in this scope
23 | for (int i - 0; i < n; i++){
| ^