Problem | prefixsums |
---|---|
User | Nathaniel |
Submission Time | 2025-03-28 17:10:30 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
prefixsums.cpp: In function ‘int main()’:
prefixsums.cpp:17:36: error: expected ‘;’ before ‘return’
17 | cout << pre[r] - pre[1-1] << "\n"
| ^
| ;
18 |
19 | return 0;
| ~~~~~~
prefixsums.cpp:21:1: error: expected primary-expression before ‘]’ token
21 | ]
| ^
prefixsums.cpp:21:1: error: expected ‘}’ at end of input
prefixsums.cpp:5:12: note: to match this ‘{’
5 | int main() {
| ^