Problem segmenttree
User Reverberate
Submission Time 2023-04-27 00:13:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

segmenttree.cpp: In member function ‘long long int node::query_min(long long int, long long int)’:
segmenttree.cpp:36:24: error: ‘struct node’ has no member named ‘min_query’
36 | return rn->min_query(a,b);
| ^~~~~~~~~
segmenttree.cpp:39:24: error: ‘struct node’ has no member named ‘min_query’
39 | return ln->min_query(a,b);
| ^~~~~~~~~
segmenttree.cpp:41:24: error: ‘struct node’ has no member named ‘min_query’
41 | return min(ln->min_query(a,mid),rn->min_query(mid+1,b));
| ^~~~~~~~~
segmenttree.cpp:41:45: error: ‘struct node’ has no member named ‘min_query’
41 | return min(ln->min_query(a,mid),rn->min_query(mid+1,b));
| ^~~~~~~~~