Problem prefixsums
User duck
Submission Time 2023-11-15 11:16:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prefixsums.cpp: In function ‘int main()’:
prefixsums.cpp:6:13: error: expected ‘;’ before ‘int’
6 | cout.tie(0)
| ^
| ;
7 | int integers, queries; cin >> integers >> queries;
| ~~~
prefixsums.cpp:7:32: error: ‘integers’ was not declared in this scope
7 | int integers, queries; cin >> integers >> queries;
| ^~~~~~~~
prefixsums.cpp:7:44: error: ‘queries’ was not declared in this scope
7 | int integers, queries; cin >> integers >> queries;
| ^~~~~~~
prefixsums.cpp:10:5: error: ‘prefixsums’ was not declared in this scope
10 | prefixsums[0] = 0;
| ^~~~~~~~~~