Problem | prefixsums |
---|---|
User | Kiameimon |
Submission Time | 2023-09-17 11:26:17 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
prefixsums.cpp: In function ‘int main()’:
prefixsums.cpp:12:25: error: ‘N’ was not declared in this scope
12 | for (int i = 0; i < N; ++i){cin >> Arr[i];}
| ^
prefixsums.cpp:13:27: error: ‘N’ was not declared in this scope
13 | vector<int> prefixSum(N + 1, 0);
| ^
prefixsums.cpp:16:25: error: ‘Q’ was not declared in this scope
16 | for (int i = 0; i < Q; ++i){
| ^