Problem shamelessad3
User CKCodeBreaker55
Submission Time 2024-12-07 14:49:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

shamelessad3.cpp: In function ‘int main()’:
shamelessad3.cpp:23:31: error: ‘i’ was not declared in this scope
23 | minimum = min(minimum, arr[i]);
| ^
shamelessad3.cpp:24:40: error: expected ‘)’ before ‘;’ token
24 | ans = max(ans, (e - s + 1) * minimum;
| ~ ^
| )