Problem ballot
User blob
Submission Time 2023-11-21 17:10:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ballot.cpp: In function ‘int main()’:
ballot.cpp:23:14: error: ‘class __gnu_cxx::__normal_iterator<std::pair<int, int>*, std::vector<std::pair<int, int> > >’ has no member named ‘empty’
23 | while (!it.empty()){
| ^~~~~