Problem hld
User PlayVoltz
Submission Time 2023-10-06 00:04:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

hld.cpp: In function ‘void addPath(int, int, int)’:
hld.cpp:52:9: error: ‘update’ was not declared in this scope
52 | update(1, 1, pos_count, left, right, k);
| ^~~~~~
hld.cpp:62:5: error: ‘update’ was not declared in this scope
62 | update(1, 1, pos_count, left, right, k);
| ^~~~~~
hld.cpp: In function ‘void addSubtree(int, int)’:
hld.cpp:73:5: error: ‘update’ was not declared in this scope
73 | update(1, 1, pos_count, left, right, k);
| ^~~~~~