Problem goombatower
User PlayVoltz
Submission Time 2023-12-11 14:25:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

goombatower.cpp: In member function ‘long long int node::query(long long int)’:
goombatower.cpp:31:10: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
31 | if (s==left && e==right)return val;
| ^~~~
goombatower.cpp:31:21: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
31 | if (s==left && e==right)return val;
| ^~~~~