Problem | fenwicktree_easy |
---|---|
User | YellowPurpleDragon |
Submission Time | 2025-01-22 20:41:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fenwicktree_easy.cpp:85:2: error: stray ‘#’ in program
85 | }#include <bits/stdc++.h>
| ^
fenwicktree_easy.cpp:85:3: error: ‘include’ does not name a type
85 | }#include <bits/stdc++.h>
| ^~~~~~~
fenwicktree_easy.cpp:96:4: error: redefinition of ‘ll st [2097151]’
96 | ll st[2*(ll)pow(2, (ll)(ceil(log2(1000000))))-1] = {0};
| ^~
fenwicktree_easy.cpp:12:4: note: ‘ll st [2097151]’ previously defined here
12 | ll st[2*(ll)pow(2, (ll)(ceil(log2(1000000))))-1] = {0};
| ^~
fenwicktree_easy.cpp:97:8: error: redefinition of ‘std::vector<long long int> su’
97 | vc<ll> su;
| ^~
fenwicktree_easy.cpp:13:8: note: ‘std::vector<long long int> su’ previously declared here
13 | vc<ll> su;
| ^~
fenwicktree_easy.cpp:99:6: error: redefinition of ‘void update(ll, ll, ll, ll, ll)’
99 | void update(ll d, ll e, ll x, ll y, ll pos) {