Problem towers
User PlayVoltz
Submission Time 2023-09-28 12:11:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

In file included from /usr/include/c++/9/bits/stl_algobase.h:71,
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 towers.cpp:1:
/usr/include/c++/9/bits/predefined_ops.h: In instantiation of ‘bool __gnu_cxx::__ops::_Val_less_iter::operator()(_Value&, _Iterator) const [with _Value = const std::pair<long long int, int>; _Iterator = std::pair<long long int, long long int>*]’:
/usr/include/c++/9/bits/stl_algo.h:2057:14: required from ‘_ForwardIterator std::__upper_bound(_ForwardIterator, _ForwardIterator, const _Tp&, _Compare) [with _ForwardIterator = std::pair<long long int, long long int>*; _Tp = std::pair<long long int, int>; _Compare = __gnu_cxx::__ops::_Val_less_iter]’
/usr/include/c++/9/bits/stl_algo.h:2091:32: required from ‘_FIter std::upper_bound(_FIter, _FIter, const _Tp&)