Problem | prefixsums |
---|---|
User | prxya |
Submission Time | 2023-11-09 15:23:54 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
prefixsums.cpp:17:25: error: unterminated comment
17 | cout << a[r-1] - a[1-2]/* << " " << a[r-1] << " " << a[l-1] << " " <<
| ^
prefixsums.cpp: In function ‘int32_t main()’:
prefixsums.cpp:16:9: error: ‘l’ was not declared in this scope
16 | cin >> l >> r;
| ^
prefixsums.cpp:16:14: error: ‘r’ was not declared in this scope
16 | cin >> l >> r;
| ^
prefixsums.cpp:17:24: error: expected ‘}’ at end of input
17 | cout << a[r-1] - a[1-2]/* << " " << a[r-1] << " " << a[l-1] << " " <<
| ^
prefixsums.cpp:7:15: note: to match this ‘{’
7 | int32_t main(){
| ^