Problem penguinfood
User PlayVoltz
Submission Time 2024-02-02 10:50:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

penguinfood.cpp: In member function ‘msum node::query(long long int, long long int)’:
penguinfood.cpp:54:17: error: request for member ‘sl’ in ‘((node*)this)->node::r’, which is of pointer type ‘node*’ (maybe you meant to use ‘->’ ?)
54 | temp.s=le.s+r.sl
| ^~