| Problem | fenwicktree_easy |
|---|---|
| User | Karax |
| Submission Time | 2026-04-13 20:37:21 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
fenwicktree_easy.cpp: In function ‘int main()’:
fenwicktree_easy.cpp:13:16: error: ‘a’ was not declared in this scope
13 | cin >> a[i];
| ^
fenwicktree_easy.cpp:25:16: error: invalid types ‘long long int[long long int]’ for array subscript
25 | a[a] = b;
| ^
fenwicktree_easy.cpp:31:38: error: ‘N’ was not declared in this scope
31 | for (int i = 1; i <= N; i++) {
| ^
fenwicktree_easy.cpp:32:49: error: ‘a’ was not declared in this scope
32 | prefix[i] = prefix[i - 1] + a[i];
| ^