Problem lightningrod
User eliasxyz
Submission Time 2025-06-05 22:02:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lightningrod.cpp: In function ‘int main()’:
lightningrod.cpp:27:54: error: expression cannot be used as a function
27 | while(rods.top().first-rods.top().second>=p.first()-p.second() and rods.top().first+rods.top().second<p.first+p.second){
| ^
lightningrod.cpp:27:65: error: expression cannot be used as a function
27 | while(rods.top().first-rods.top().second>=p.first()-p.second() and rods.top().first+rods.top().second<p.first+p.second){
| ^