Problem minstack
User kesleryak
Submission Time 2024-11-26 19:29:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minstack.cpp: In function ‘int top()’:
minstack.cpp:19:13: error: ‘class std::vector<long long int>’ has no member named ‘length’
19 | return v[v.length-1];
| ^~~~~~