Problem | fenwicktree |
---|---|
User | cobnet |
Submission Time | 2024-02-27 21:09:29 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fenwicktree.cpp: In function ‘void update(int, int)’:
fenwicktree.cpp:8:17: error: ‘n’ was not declared in this scope
8 | while (x <= n) {
| ^
fenwicktree.cpp:10:19: error: ‘mod’ was not declared in this scope; did you mean ‘modf’?
10 | bit[x] %= mod;
| ^~~
| modf