Problem | segmenttree2 |
---|---|
User | Kiameimon |
Submission Time | 2025-04-01 21:05:00 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
segmenttree2.cpp: In function ‘int main()’:
segmenttree2.cpp:172:65: error: non-type template parameters of class type only available with ‘-std=c++2a’ or ‘-std=gnu++2a’
172 | DynamicSegmentTree<ll, ll, sum_op, update_value, update_lazy> *tree = new DynamicSegmentTree<ll, ll, sum_op, update_value, update_lazy>(1, N, 0, 0);
| ^
segmenttree2.cpp:172:65: error: non-type template parameters of class type only available with ‘-std=c++2a’ or ‘-std=gnu++2a’
segmenttree2.cpp:172:65: error: non-type template parameters of class type only available with ‘-std=c++2a’ or ‘-std=gnu++2a’
segmenttree2.cpp:172:139: error: non-type template parameters of class type only available with ‘-std=c++2a’ or ‘-std=gnu++2a’
172 | DynamicSegmentTree<ll, ll, sum_op, update_value, update_lazy> *tree = new DynamicSegmentTree<ll, ll, sum_op, update_value, update_lazy>(1, N, 0, 0);
|