Problem ballot
User YongXin
Submission Time 2023-06-20 11:36:06
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 ballot.cpp:1:
/usr/include/c++/9/bits/predefined_ops.h: In instantiation of ‘bool __gnu_cxx::__ops::_Iter_comp_val<_Compare>::operator()(_Iterator, _Value&) [with _Iterator = std::_Rb_tree_const_iterator<std::pair<long long int, long long int> >; _Value = const std::pair<long long int, int>; _Compare = long long int]’:
/usr/include/c++/9/bits/stl_algobase.h:979:14: required from ‘_ForwardIterator std::__lower_bound(_ForwardIterator, _ForwardIterator, const _Tp&, _Compare) [with _ForwardIterator = std::_Rb_tree_const_iterator<std::pair<long long int, long long int> >; _Tp = std::pair<long long int, int>; _Compare = __gnu_cxx::__ops::_Iter_comp_val<long