| Problem | fenwicktree_easy |
|---|---|
| User | HighLithop |
| Submission Time | 2026-02-20 00:01:46 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
fenwicktree_easy.cpp:106:1: error: expected ‘}’ at end of input
106 | }
| ^
fenwicktree_easy.cpp:26:12: note: to match this ‘{’
26 | struct fwt {
| ^
fenwicktree_easy.cpp: In constructor ‘fwt::fwt(long long int)’:
fenwicktree_easy.cpp:46:31: error: a function-definition is not allowed here before ‘{’ token
46 | void update(ll i, ll val) {
| ^
fenwicktree_easy.cpp:55:20: error: a function-definition is not allowed here before ‘{’ token
55 | ll query(ll i) {
| ^
fenwicktree_easy.cpp:66:25: error: a function-definition is not allowed here before ‘{’ token
66 | ll query(ll l, ll r){
| ^
fenwicktree_easy.cpp: In member function ‘int fwt::main()’:
fenwicktree_easy.cpp:85:14: error: ‘struct fwt’ has no member named ‘update’
85 | tree.update(i, val);
| ^~~~~~
fenwickt