Problem | digits |
---|---|
User | bakchormee |
Submission Time | 2024-05-04 22:52:57 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
digits.cpp: In member function ‘void node::up(int, int)’:
digits.cpp:27:9: error: ‘struct node’ has no member named ‘update’
27 | l -> update(p, nv);
| ^~~~~~
digits.cpp:29:9: error: ‘struct node’ has no member named ‘update’
29 | r -> update(p, nv);
| ^~~~~~
digits.cpp: In member function ‘int node::qry(int, int)’:
digits.cpp:37:30: error: ‘struct node’ has no member named ‘query’; did you mean ‘qry’?
37 | else if (y <= m) return l->query(x, y);
| ^~~~~
| qry
digits.cpp:38:29: error: ‘struct node’ has no member named ‘query’; did you mean ‘qry’?
38 | else if (x > m) return r->query(x, y);
| ^~~~~
| qry
digits.cpp:39:19: error: ‘struct node’ has no member named ‘query’; did you mean ‘qry’?
39 | else return (l->query(x, m) * p