Borderou de evaluare (job #2337935)
Utilizator | Data | 6 februarie 2019 20:10:55 | |
---|---|---|---|
Problema | Numar2 | 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:28:23: error: no match for 'operator=' (operand types are 'std::set<long long int>::iterator {aka std::_Rb_tree_const_iterator<long long int>}' and 'std::set<short unsigned int>::iterator {aka std::_Rb_tree_const_iterator<short unsigned int>}')
it=multipli.begin();
^
In file included from /usr/include/c++/6/set:60:0,
from main.cpp:3:
/usr/include/c++/6/bits/stl_tree.h:248:12: note: candidate: constexpr std::_Rb_tree_const_iterator<long long int>& std::_Rb_tree_const_iterator<long long int>::operator=(const std::_Rb_tree_const_iterator<long long int>&)
struct _Rb_tree_const_iterator
^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/6/bits/stl_tree.h:248:12: note: no known conversion for argument 1 from 'std::set<short unsigned int>::iterator {aka std::_Rb_tree_const_iterator<short unsigned int>}' to 'const std::_Rb_tree_const_iterator<long long int>&'
/usr/include/c++/6/bits/stl_tree.h:248:12: note: candidate: constexpr std::_Rb_tree_const_iterator<long long int>& std::_Rb_tree_const_iterator<long long int>::operator=(std::_Rb_tree_const_iterator<long long int>&&)
/usr/include/c++/6/bits/stl_tree.h:248:12: note: no known conversion for argument 1 from 'std::set<short unsigned int>::iterator {aka std::_Rb_tree_const_iterator<short unsigned int>}' to 'std::_Rb_tree_const_iterator<long long int>&&'
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !