Problem | rabbitbars |
---|---|
User | Ok |
Submission Time | 2024-04-18 18:06:33 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
rabbitbars.cpp: In function ‘int main()’:
rabbitbars.cpp:72:49: error: ‘x’ was not declared in this scope
72 | while(hull1.size() >= 2 && eval(x,hull1[0].first) > eval(x,hull1[1].first) ){
| ^
rabbitbars.cpp:95:53: error: no matching function for call to ‘min(int, std::deque<std::pair<std::pair<long long int, long long int>, int> >::size_type)’
95 | for(int j = 0; j < min(2,hull.size()); j++){
| ^
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 rabbitbars.cpp:1:
/usr/include/c++/9/bits/stl_algobase.h:198:5: note: candidate: ‘template<class _Tp> constexpr const _Tp& std::min(const _Tp&, const _Tp&)’
198 |