Problem | fenwicktree |
---|---|
User | bribritt |
Submission Time | 2023-02-14 18:39:19 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fenwicktree.cpp: In function ‘int main()’:
fenwicktree.cpp:46:28: error: ‘prefix’ was not declared in this scope; did you mean ‘prefix_sum’?
46 | SetUpFenwick(ft1, ft2, prefix, A, N);
| ^~~~~~
| prefix_sum
fenwicktree.cpp:51:16: error: cannot convert ‘std::vector<long long int>’ to ‘ll’ {aka ‘long long int’}
51 | RU(ft1, ft2, a, b, c, N);
| ^~~
| |
| std::vector<long long int>
fenwicktree.cpp:28:12: note: initializing argument 1 of ‘void RU(ll, ll, ll, ll)’
28 | void RU(ll a, ll b, ll v, ll N) {
| ~~~^