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

Compile Error

prefixsums.cpp: In function ‘int32_t main()’:
prefixsums.cpp:5:15: error: ‘sync_with_studio’ is not a member of ‘std::ios_base’
5 | ios_base::sync_with_studio(0); cin.tie (0);
| ^~~~~~~~~~~~~~~~
prefixsums.cpp:9:17: error: ‘i’ was not declared in this scope
9 | cin > a[i];
| ^
prefixsums.cpp:13:5: error: ‘ss’ was not declared in this scope
13 | ss[0] = 0;
| ^~