Problem | hld |
---|---|
User | PlayVoltz |
Submission Time | 2023-10-05 23:55:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
hld.cpp: In function ‘void hldupdatepath(int, int, int)’:
hld.cpp:201:6: error: ‘struct node’ has no member named ‘ad’; did you mean ‘add’?
201 | st->ad(in[c], in[a], val);
| ^~
| add
hld.cpp:206:23: error: ‘struct node’ has no member named ‘ad’; did you mean ‘add’?
206 | if (in[c]!=in[b])st->ad(in[c]+1, in[b], val);
| ^~
| add
hld.cpp: In function ‘int main()’:
hld.cpp:245:20: error: ‘struct node’ has no member named ‘up’
245 | if (root==a)st->up(1, n, b);
| ^~