Problem shamelessad3
User NoobMugger420
Submission Time 2024-12-07 11:30:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

shamelessad3.cpp: In function ‘int largestRectangleArea(std::vector<int>&)’:
shamelessad3.cpp:29:12: error: a function-definition is not allowed here before ‘{’ token
29 | int main() {
| ^
shamelessad3.cpp:41:1: error: expected ‘}’ at end of input
41 | }
| ^
shamelessad3.cpp:5:48: note: to match this ‘{’
5 | int largestRectangleArea(vector<int>& heights) {
| ^