Problem segmenttree
User boaznumberd5555
Submission Time 2024-12-04 13:32:43
Score 0
Max Time N/A
Max Memory N/A

Compile Error

segmenttree.cpp: In member function ‘int node::query(int, int)’:
segmenttree.cpp:28:22: error: lvalue required as left operand of assignment
28 | if(x=S and E=y ) return val; //return the value if the whole thing is in range, else recurse down to children until its in range
| ^