Problem hld_easy
User maximushartanto
Submission Time 2026-02-19 12:10:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

hld_easy.cpp: In function ‘int main()’:
hld_easy.cpp:96:5: error: ‘segtree’ was not declared in this scope
96 | segtree s(n);
| ^~~~~~~
hld_easy.cpp: In lambda function:
hld_easy.cpp:106:5: error: ‘s’ was not declared in this scope
106 | s.update(l, r, x);
| ^
hld_easy.cpp: In lambda function:
hld_easy.cpp:112:12: error: ‘s’ was not declared in this scope
112 | res += s.query(l, r).v;
| ^