Problem hld_easy_2
User maximushartanto
Submission Time 2025-12-26 15:53:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

hld_easy_2.cpp: In instantiation of ‘void HLD::segtree::update(int, int, int, int, int, const A& ...) [with A = {}]’:
hld_easy_2.cpp:85:56: required from ‘void HLD::segtree::update(int, int, const A& ...) [with A = {}]’
hld_easy_2.cpp:198:34: required from here
hld_easy_2.cpp:90:21: error: no matching function for call to ‘HLD::segtree::node::apply(int&, int&)’
90 | t[ti].apply(tl, tr, a...);
| ^
hld_easy_2.cpp:20:18: note: candidate: ‘void HLD::segtree::node::apply(int, int, i64)’
20 | void apply(int l, int r, i64 x){
| ^~~~~
hld_easy_2.cpp:20:18: note: candidate expects 3 arguments, 2 provided