Problem fenwicktree
User Kiameimon
Submission Time 2025-03-09 20:27:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fenwicktree.cpp:38:10: error: ‘Iterator’ has not been declared
38 | template<Iterator Iter>
| ^~~~~~~~
fenwicktree.cpp:39:1: error: no declaration matches ‘LazyPropSegtree<T, U, op, updVal, updLazy>::LazyPropSegtree(auto:3, auto:4, T, U)’
39 | LazyPropSegtree<T, U, op, updVal, updLazy>::LazyPropSegtree(auto start, auto end, T identityOp, U identityUpdate)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fenwicktree.cpp:14:14: note: candidates are: ‘LazyPropSegtree<T, U, op, updVal, updLazy>::LazyPropSegtree(int, T, U)’
14 | explicit LazyPropSegtree(int size, T identityOp, U identityUpdate);
| ^~~~~~~~~~~~~~~
fenwicktree.cpp:13:14: note: ‘template<class T, class U, auto op, auto updVal, auto updLazy> template<class auto:1, class auto:2> LazyPropSegtree<T, U, op, updVal, updLazy>::LazyPropSegtree(auto:1, auto:2, T, U)’
13 | explicit LazyPropSegtr