Problem | shuttlerun |
---|---|
User | Ok |
Submission Time | 2023-12-09 11:21:56 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
shuttlerun.cpp: In function ‘int main()’:
shuttlerun.cpp:24:46: error: ‘std::multiset<std::pair<int, int> >::reverse_iterator’ {aka ‘class std::reverse_iterator<std::_Rb_tree_const_iterator<std::pair<int, int> > >’} has no member named ‘first’
24 | if(sat.rbegin() -> first > sat1.rbegin().first){
| ^~~~~
shuttlerun.cpp:93:28: error: no matching function for call to ‘max(int, long long int&)’
93 | printf("%lld",max(0,sum));
| ^
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 shuttlerun.cpp:1:
/usr/include/c++/9/bits/stl_algobase.h:222:5: note: candidate: ‘template<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)’
222 | max(const _Tp