Problem prefixsums
User yixiin26
Submission Time 2023-11-10 10:05:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prefixsums.cpp:7:13: error: stray ‘\342’ in program
7 | for(int 1 ≤ i ≤ N)
| ^
prefixsums.cpp:7:14: error: stray ‘\211’ in program
7 | for(int 1 ≤ i ≤ N)
| ^
prefixsums.cpp:7:15: error: stray ‘\244’ in program
7 | for(int 1 ≤ i ≤ N)
| ^
prefixsums.cpp:7:19: error: stray ‘\342’ in program
7 | for(int 1 ≤ i ≤ N)
| ^
prefixsums.cpp:7:20: error: stray ‘\211’ in program
7 | for(int 1 ≤ i ≤ N)
| ^
prefixsums.cpp:7:21: error: stray ‘\244’ in program
7 | for(int 1 ≤ i ≤ N)
| ^
prefixsums.cpp: In function ‘long long int precompute()’:
prefixsums.cpp:6:20: error: ‘n’ was not declared in this scope
6 | for(int i = 1; i<=n; i++) SS[i] = SS[i-1] + A[i];\
| ^
prefixsums.cpp:6:28: error: ‘SS’ was not declared in this scope
6 | for