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

Compile Error

prefixsums.cpp:4:27: error: expected constructor, destructor, or type conversion before ‘(’ token
4 | ios_base::sync_with_studio(0); cin.tie (0);
| ^
prefixsums.cpp:4:32: error: ‘cin’ does not name a type; did you mean ‘sin’?
4 | ios_base::sync_with_studio(0); cin.tie (0);
| ^~~
| sin
prefixsums.cpp: In function ‘int32_t main()’:
prefixsums.cpp:9:18: 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;
| ^~