Problem | fenwicktree |
---|---|
User | Kiameimon |
Submission Time | 2025-03-09 20:13:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fenwicktree.cpp:24:11: error: declaration of template parameter ‘T’ shadows template parameter
24 | template <typename T, typename U, typename Op, typename UpdVal, typename UpdLazy>
| ^~~~~~~~
fenwicktree.cpp:10:11: note: template parameter ‘T’ declared here
10 | template <typename T, typename U, auto op, auto updVal, auto updLazy>
| ^~~~~~~~
fenwicktree.cpp:24:23: error: declaration of template parameter ‘U’ shadows template parameter
24 | template <typename T, typename U, typename Op, typename UpdVal, typename UpdLazy>
| ^~~~~~~~
fenwicktree.cpp:10:23: note: template parameter ‘U’ declared here
10 | template <typename T, typename U, auto op, auto updVal, auto updLazy>
| ^~~~~~~~
fenwicktree.cpp:25:7: error: ‘LazyPropSegtree<T, U, op, updVal, updLazy>::LazyPropSegtree’ has the same name as the class in which it is declare