Problem | lightningrod |
---|---|
User | eliasxyz |
Submission Time | 2025-06-05 22:02:15 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lightningrod.cpp: In function βint main()β:
lightningrod.cpp:25:11: error: expected unqualified-id before β.β token
25 | if(stack.empty()){rods.push(p);}
| ^
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){
| ^