Problem lightningrod
User ATHY
Submission Time 2025-03-20 12:02:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lightningrod.cpp: In function ‘int main()’:
lightningrod.cpp:29:30: error: ‘i’ was not declared in this scope
29 | while (!st.empty() && test[i].second <= st.top()){
| ^
lightningrod.cpp:32:16: error: ‘i’ was not declared in this scope
32 | st.push(test[i].second);
| ^
lightningrod.cpp:33:3: error: ‘v’ was not declared in this scope
33 | v.pop_back();
| ^