Problem prefixsums
User JK13
Submission Time 2023-11-09 15:38:42
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 (0);
| ^~~~~~~~~~~~~~~~
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;
| ^~