Problem lightningrod
User trashcan08
Submission Time 2024-12-16 16:37:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lightningrod.cpp: In function ‘int main()’:
lightningrod.cpp:24:7: error: ‘s’ was not declared in this scope
24 | if (s.empty()){
| ^
lightningrod.cpp:27:9: error: ‘isCovering’ was not declared in this scope
27 | if (!isCovering(s.top().first, s.top().second, X[i], Y[i])) {
| ^~~~~~~~~~
lightningrod.cpp:35:10: error: ‘s’ was not declared in this scope
35 | while (!s.empty()) {
| ^