| Problem | area_noi |
|---|---|
| User | IyasM |
| Submission Time | 2025-12-05 09:20:36 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
area_noi.cpp: In function ‘int main()’:
area_noi.cpp:8:2: error: ‘area’ was not declared in this scope
8 | area = 0;
| ^~~~
In file included from /usr/include/c++/9/bits/specfun.h:45,
from /usr/include/c++/9/cmath:1927,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:41,
from area_noi.cpp:1:
/usr/include/c++/9/bits/stl_algobase.h: In instantiation of ‘constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare) [with _Tp = long long int; _Compare = long long int]’:
area_noi.cpp:16:53: required from here
/usr/include/c++/9/bits/stl_algobase.h:271:17: error: ‘__comp’ cannot be used as a function
271 | if (__comp(__a, __b))
| ~~~~~~^~~~~~~~~~