| Problem | fenwicktree |
|---|---|
| User | Kiameimon |
| Submission Time | 2025-03-09 20:03:29 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
fenwicktree.cpp: In function ‘int main()’:
fenwicktree.cpp:219:46: error: non-type template parameters of class type only available with ‘-std=c++2a’ or ‘-std=gnu++2a’
219 | LazyPropSegtree<T, U, op, updVal, updLazy> segtree(arr.begin(), arr.end(), id, 0);
| ^
fenwicktree.cpp:219:46: error: non-type template parameters of class type only available with ‘-std=c++2a’ or ‘-std=gnu++2a’
fenwicktree.cpp:219:46: error: non-type template parameters of class type only available with ‘-std=c++2a’ or ‘-std=gnu++2a’
fenwicktree.cpp:219:85: error: expression list treated as compound expression in initializer [-fpermissive]
219 | LazyPropSegtree<T, U, op, updVal, updLazy> segtree(arr.begin(), arr.end(), id, 0);
| ^
fenwicktree.cpp:225:12: error: request for member ‘Update’ in ‘segtree’, which is of non-class t