Problem eelimination
User sharelletqx
Submission Time 2026-04-25 09:44:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eelimination.cpp: In function ‘int main()’:
eelimination.cpp:13:45: error: ‘height’ was not declared in this scope; did you mean ‘heights’?
13 | while(!stk.empty() and heights[stk.top()]<height[i]){
| ^~~~~~
| heights