Borderou de evaluare (job #285357)

Utilizator GavrilaVladGavrila Vlad GavrilaVlad Data 22 martie 2009 15:32:57
Problema Regiuni Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function 'int main()': user.cpp:27: warning: format '%d' expects type 'int*', but argument 2 has type 'long int*' user.cpp:27: warning: format '%d' expects type 'int*', but argument 3 has type 'long int*' user.cpp:30: warning: format '%d' expects type 'int*', but argument 2 has type 'short int*' user.cpp:30: warning: format '%d' expects type 'int*', but argument 3 has type 'short int*' user.cpp:30: warning: format '%d' expects type 'int*', but argument 4 has type 'short int*' user.cpp:34: warning: format '%d' expects type 'int*', but argument 2 has type 'short int*' user.cpp:34: warning: format '%d' expects type 'int*', but argument 3 has type 'short int*' user.cpp:40: warning: comparison between signed and unsigned integer expressions user.cpp:43: error: no match for 'operator=' in 'it = ((std::set<short int, std::less<short int>, std::allocator<short int> >*)v.std::vector<_Tp, _Alloc>::operator[] [with _Tp = std::set<short int, std::less<short int>, std::allocator<short int> >, _Alloc = std::allocator<std::set<short int, std::less<short int>, std::allocator<short int> > >](((unsigned int)j)))->std::set<_Key, _Compare, _Alloc>::begin [with _Key = short int, _Compare = std::less<short int>, _Alloc = std::allocator<short int>]()' /usr/include/c++/4.2/bits/stl_tree.h:223: note: candidates are: std::_Rb_tree_const_iterator<long int>& std::_Rb_tree_const_iterator<long int>::operator=(const std::_Rb_tree_const_iterator<long int>&) user.cpp:43: error: no match for 'operator!=' in 'it != ((std::set<short int, std::less<short int>, std::allocator<short int> >*)v.std::vector<_Tp, _Alloc>::operator[] [with _Tp = std::set<short int, std::less<short int>, std::allocator<short int> >, _Alloc = std::allocator<std::set<short int, std::less<short int>, std::allocator<short int> > >](((unsigned int)j)))->std::set<_Key, _Compare, _Alloc>::end [with _Key = short int, _Compare = std::less<short int>, _Alloc = std::allocator<short int>]()' /usr/include/c++/4.2/bits/stl_tree.h:290: note: candidates are: bool std::_Rb_tree_const_iterator<_Tp>::operator!=(const std::_Rb_tree_const_iterator<_Tp>&) const [with _Tp = long int]

Ceva nu functioneaza?