Problem problemsetter
User taqtru
Submission Time 2025-02-09 15:00:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

problemsetter.cpp: In function ‘int main()’:
problemsetter.cpp:33:22: error: cannot convert ‘__gnu_cxx::__normal_iterator<std::pair<long long int, long long int>*, std::vector<std::pair<long long int, long long int> > >’ to ‘int’ in initialization
33 | for (int j = it; j != contests.end(); ++j) {
| ^~
| |
| __gnu_cxx::__normal_iterator<std::pair<long long int, long long int>*, std::vector<std::pair<long long int, long long int> > >
problemsetter.cpp:33:28: error: no match for ‘operator!=’ (operand types are ‘int’ and ‘std::vector<std::pair<long long int, long long int> >::iterator’ {aka ‘__gnu_cxx::__normal_iterator<std::pair<long long int, long long int>*, std::vector<std::pair<long long int, long long int> > >’})
33 | for (int j = it; j != contests.end(); ++j) {
|