Problem prefixsums
User themadpotato
Submission Time 2023-01-13 15:22:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prefixsums.cpp: In function ‘int main()’:
prefixsums.cpp:5:12: error: expected ‘;’ before ‘long’
5 | cin.tie(0)
| ^
| ;
6 | long long n, q;
| ~~~~
prefixsums.cpp:7:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
7 | cin >> n >> q;
| ^
| yn
prefixsums.cpp:7:14: error: ‘q’ was not declared in this scope
7 | cin >> n >> q;
| ^