Borderou de evaluare (job #2415040)
Utilizator | Data | 25 aprilie 2019 14:36:05 | |
---|---|---|---|
Problema | Trenuri3 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:45:45: error: unable to deduce 'auto*' from 'h.std::multiset<_Key, _Compare, _Alloc>::lower_bound<std::pair<int, int>, std::less<std::pair<int, int> >, std::allocator<std::pair<int, int> > >(std::pair<int, int>(a[i].std::pair<std::pair<int, int>, int>::first.std::pair<int, int>::second, 0))'
auto *it=h.lower_bound({a[i].f.s, 0});
^
main.cpp:45:45: note: mismatched types 'auto*' and 'std::_Rb_tree_const_iterator<std::pair<int, int> >'
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !