Problem | prefixsums |
---|---|
User | dieunq1309 |
Submission Time | 2023-04-27 16:57:59 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
prefixsums.cpp: In function ‘int main()’:
prefixsums.cpp:6:41: error: expected ‘;’ before ‘l’
6 | ios_base::sync_with_stdio(0);cin.tie(0)l
| ^
| ;
prefixsums.cpp:10:12: error: ‘N’ was not declared in this scope
10 | cin >> N >> Q;
| ^
prefixsums.cpp:10:17: error: ‘Q’ was not declared in this scope
10 | cin >> N >> Q;
| ^
prefixsums.cpp:14:21: error: missing template arguments before ‘[’ token
14 | cin >> array[i];
| ^
prefixsums.cpp:24:25: error: missing template arguments before ‘[’ token
24 | sum += array[k];
| ^