Problem prefixsums
User LYM2025
Submission Time 2026-08-03 17:44:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prefixsums.cpp: In function ‘int main()’:
prefixsums.cpp:6:18: error: expected ‘;’ before ‘ll’
6 | cin.tie(nullptr)
| ^
| ;
7 | ll x, y,z,a,b; cin>>x>>y;
| ~~
prefixsums.cpp:7:22: error: ‘x’ was not declared in this scope
7 | ll x, y,z,a,b; cin>>x>>y;
| ^
prefixsums.cpp:7:25: error: ‘y’ was not declared in this scope; did you mean ‘yn’?
7 | ll x, y,z,a,b; cin>>x>>y;
| ^
| yn
prefixsums.cpp:10:8: error: ‘z’ was not declared in this scope
10 | cin>>z;
| ^
prefixsums.cpp:18:8: error: ‘a’ was not declared in this scope
18 | cin>>a>>b;
| ^
prefixsums.cpp:18:11: error: ‘b’ was not declared in this scope
18 | cin>>a>>b;
| ^