Problem prefixsums
User JK13
Submission Time 2023-11-09 15:36:48
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:17: error: ‘i’ was not declared in this scope
10 | cin > a[i];
| ^
prefixsums.cpp:14:5: error: ‘ss’ was not declared in this scope
14 | ss[0] = 0;
| ^~
prefixsums.cpp:15:10: error: ‘inti’ was not declared in this scope; did you mean ‘int’?
15 | for (inti=1;i<=n;i++) {
| ^~~~
| int
prefixsums.cpp:15:17: error: ‘i’ was not declared in this scope
15 | for (inti=1;i<=n;i++) {
| ^
prefixsums.cpp:18:21: