Problem prefixsums
User Ziwen
Submission Time 2023-11-09 15:50:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prefixsums.cpp: In function ‘int32_t main()’:
prefixsums.cpp:6:12: error: ‘sync_with_studio’ is not a member of ‘std::ios_base’
6 | ios_base::sync_with_studio(0); cin.tie(0);
| ^~~~~~~~~~~~~~~~
prefixsums.cpp:16:20: error: expected unqualified-id before ‘+’ token
16 | ss[i] = ss[i-1]. + arr[i];
| ^