| Problem | ccs |
|---|---|
| User | j0ashhh |
| Submission Time | 2026-02-08 11:39:43 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
ccs.cpp:23:2: error: expected ‘;’ after struct definition
23 | }
| ^
| ;
ccs.cpp: In constructor ‘Fenwick::Fenwick(int)’:
ccs.cpp:6:35: error: expected ‘{’ at end of input
6 | Fenwick(int n): n(n), bits(n+1, 0);
| ^
ccs.cpp: In member function ‘void Fenwick::update(int, int)’:
ccs.cpp:9:4: error: ‘bit’ was not declared in this scope; did you mean ‘bits’?
9 | bit[i] += v;
| ^~~
| bits
ccs.cpp: In member function ‘int Fenwick::query(int)’:
ccs.cpp:15:9: error: ‘bit’ was not declared in this scope; did you mean ‘bits’?
15 | s += bit[i];
| ^~~
| bits
ccs.cpp: In function ‘int main()’:
ccs.cpp:25:2: error: ‘ios_bsae’ has not been declared
25 | ios_bsae::sync_with_stdio(false);
| ^~~~~~~~