Problem | segmenttree2 |
---|---|
User | Kiameimon |
Submission Time | 2025-04-01 19:40:54 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
segmenttree2.cpp: In function ‘int main()’:
segmenttree2.cpp:180:65: error: non-type template parameters of class type only available with ‘-std=c++2a’ or ‘-std=gnu++2a’
180 | DynamicSegmentTree<ll, ll, sum_op, update_value, update_lazy> tree(1, N, 0, 0);
| ^
segmenttree2.cpp:180:65: error: non-type template parameters of class type only available with ‘-std=c++2a’ or ‘-std=gnu++2a’
segmenttree2.cpp:180:65: error: non-type template parameters of class type only available with ‘-std=c++2a’ or ‘-std=gnu++2a’
segmenttree2.cpp:180:83: error: expression list treated as compound expression in initializer [-fpermissive]
180 | DynamicSegmentTree<ll, ll, sum_op, update_value, update_lazy> tree(1, N, 0, 0);
| ^
segmenttree2.cpp:190:18: error: request for member ‘Update’ in ‘tree’, which i