Problem shamelessad4
User YSH2020
Submission Time 2024-12-11 09:35:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cc1plus: error: ‘::main’ must return ‘int’
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 shamelessad4.cpp:1:
/usr/include/c++/9/bits/stl_algobase.h: In instantiation of ‘constexpr const _Tp& std::min(const _Tp&, const _Tp&) [with _Tp = value]’:
shamelessad4.cpp:30:24: required from here
/usr/include/c++/9/bits/stl_algobase.h:203:15: error: no match for ‘operator<’ (operand types are ‘const value’ and ‘const value’)
203 | if (__b < __a)
| ~~~~^~~~~
In file included from /usr/include/c++/9/bits/stl_algobase.h:64,
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 shamelessad4.cpp:1:
/usr/inclu