Problem segmenttree2
User Blender
Submission Time 2024-04-11 09:44:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

segmenttree2.cpp: In member function ‘long long int Node::updateRange(long long unsigned int, long long unsigned int, long long int)’:
segmenttree2.cpp:86:61: error: no matching function for call to ‘Node::updateRange(long long unsigned int&, const long long unsigned int&)’
86 | this->leftChild->updateRange( start, this->rangeEnd );
| ^
segmenttree2.cpp:79:9: note: candidate: ‘long long int Node::updateRange(long long unsigned int, long long unsigned int, long long int)’
79 | VALUE_T Node::updateRange( ull start, ull end, VALUE_T delta )
| ^~~~
segmenttree2.cpp:79:9: note: candidate expects 3 arguments, 2 provided
segmenttree2.cpp:92:61: error: no matching function for call to ‘Node::updateRange(const long long unsigned int&, const long long unsigned int&)’
92 | this->rightChild->updateRange( rangeStart, rangeEnd );
|