Problem prefixsums
User JK13
Submission Time 2023-11-09 15:35:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prefixsums.cpp: In function ‘int32_t main()’:
prefixsums.cpp:6:15: error: ‘sync_with_Studio’ is not a member of ‘std::ios_base’
6 | ios_base::sync_with_Studio(0); cin.tie (o);
| ^~~~~~~~~~~~~~~~
prefixsums.cpp:6:45: error: ‘o’ was not declared in this scope
6 | ios_base::sync_with_Studio(0); cin.tie (o);
| ^
prefixsums.cpp:10:15: error: ‘arr’ was not declared in this scope
10 | cin > arr [i];
| ^~~
prefixsums.cpp:10:20: error: ‘i’ was not declared in this scope
10 | cin > arr [i];
| ^
prefixsums.cpp:12:10: error: ‘iny’ was not declared in this scope; did you mean ‘int’?
12 | for (iny i=1; i<=n; i++)
| ^~~
| int
prefixsums.cpp:12:19: error: ‘i’ was not declared in this scope
12 | for (iny i=1; i<=n; i++)
|