Problem shamelessad3
User WouldIWas
Submission Time 2025-05-14 10:47:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

shamelessad3.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
shamelessad3.cpp: In function ‘int main()’:
shamelessad3.cpp:6:2: error: ‘ios_base’ has not been declared
6 | ios_base::sync_with_stdio(0); cin.tie(0);
| ^~~~~~~~
shamelessad3.cpp:6:32: error: ‘cin’ was not declared in this scope
6 | ios_base::sync_with_stdio(0); cin.tie(0);
| ^~~
shamelessad3.cpp:16:12: error: ‘min’ was not declared in this scope; did you mean ‘main’?
16 | least = min(sub, arr[i+j]);
| ^~~
| main
shamelessad3.cpp:21:11: error: ‘max’ was not declared in this scope
21 | area = max(marea, tarea);
| ^~~
shamelessad3.cpp:25:2: error: ‘cout’ was not declared in this scope
25 | cout << area;
| ^~~~