| Problem | fenwicktree |
|---|---|
| User | Kiameimon |
| Submission Time | 2025-03-09 21:07:11 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
fenwicktree.cpp: In function ‘int main()’:
fenwicktree.cpp:127:27: error: ‘ll’ was not declared in this scope
127 | std::vector<std::pair<ll, int>> arr(n);
| ^~
fenwicktree.cpp:127:31: error: template argument 1 is invalid
127 | std::vector<std::pair<ll, int>> arr(n);
| ^~~
fenwicktree.cpp:127:34: error: template argument 1 is invalid
127 | std::vector<std::pair<ll, int>> arr(n);
| ^~
fenwicktree.cpp:127:34: error: template argument 2 is invalid
fenwicktree.cpp:129:26: error: invalid types ‘int[int]’ for array subscript
129 | std::cin >> arr[i].first;
| ^
fenwicktree.cpp:130:14: error: invalid types ‘int[int]’ for array subscript
130 | arr[i].second = 1;
| ^
fenwicktree.cpp:136:24: error: ‘T’ does not n