Problem | fenwicktree |
---|---|
User | Kiameimon |
Submission Time | 2025-03-09 20:15:03 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fenwicktree.cpp: In function ‘int main()’:
fenwicktree.cpp:191:46: error: type/value mismatch at argument 3 in template parameter list for ‘template<class T, class U, class Op, class UpdVal, class UpdLazy> class LazyPropSegtree’
191 | LazyPropSegtree<T, U, op, updVal, updLazy> segtree(arr.begin(), arr.end(), id, id2);
| ^
fenwicktree.cpp:191:46: note: expected a type, got ‘op’
fenwicktree.cpp:191:46: error: type/value mismatch at argument 4 in template parameter list for ‘template<class T, class U, class Op, class UpdVal, class UpdLazy> class LazyPropSegtree’
fenwicktree.cpp:191:46: note: expected a type, got ‘updVal’
fenwicktree.cpp:191:46: error: type/value mismatch at argument 5 in template parameter list for ‘template<class T, class U, class Op, class UpdVal, class UpdLazy> class LazyPropSegtree’
fenwicktree.cpp:191:46: note: expected a type, got ‘updLazy’
fenwicktree.c