Problem | ballot |
---|---|
User | trashcan08 |
Submission Time | 2025-01-03 17:04:14 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
In file included from /usr/include/c++/9/set:61,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:87,
from ballot.cpp:1:
/usr/include/c++/9/bits/stl_set.h: In instantiation of ‘void std::set<_Key, _Compare, _Alloc>::insert(_InputIterator, _InputIterator) [with _InputIterator = long long int; _Key = std::pair<long long int, long long int>; _Compare = std::greater<std::pair<long long int, long long int> >; _Alloc = std::allocator<std::pair<long long int, long long int> >]’:
ballot.cpp:12:16: required from here
/usr/include/c++/9/bits/stl_set.h:567:4: error: no matching function for call to ‘std::_Rb_tree<std::pair<long long int, long long int>, std::pair<long long int, long long int>, std::_Identity<std::pair<long long int, long long int> >, std::greater<std::pair<long long int, long long int> >, std::allocator<std::pair<long long int, long long int>