.campion
conectare | înregistrare | căutare
Pagina principală » Surse trimise » Sursa 634014

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 634014
Concurent: Mihai Constantin (mihai.constantin)Progres: evaluare completă
Problemă: grupe2Punctaj exemplu: 0
Limbaj: cppPunctaj final: 0
Dată: 16 feb 2024, 09:53
Mesaj evaluator:
grupe2.cpp:11: error: '>>' should be '> >' within a nested template argument list grupe2.cpp:27: error: '>>' should be '> >' within a nested template argument list grupe2.cpp:27: error: '>>' should be '> >' within a nested template argument list grupe2.cpp: In function 'void sortDict()': grupe2.cpp:38: error: '>>' should be '> >' within a nested template argument list grupe2.cpp:42: error: '>>' should be '> >' within a nested template argument list grupe2.cpp:60: warning: comparison between signed and unsigned integer expressions grupe2.cpp:71: warning: comparison between signed and unsigned integer expressions In file included from /usr/include/c++/4.4/algorithm:62, from grupe2.cpp:5: /usr/include/c++/4.4/bits/stl_algo.h: In function 'const _Tp& std::__median(const _Tp&, const _Tp&, const _Tp&, _Compare) [with _Tp = std::pair<int, std::vector<int, std::allocator<int> > >, _Compare = bool (*)(std::pair<int, std::vector<int, std::allocator<int> > >&, std::pair<int, std::vector<int, std::allocator<int> > >&)]': /usr/include/c++/4.4/bits/stl_algo.h:2301: instantiated from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<int, std::vector<int, std::allocator<int> > >*, std::vector<std::pair<int, std::vector<int, std::allocator<int> > >, std::allocator<std::pair<int, std::vector<int, std::allocator<int> > > > > >, _Size = int, _Compare = bool (*)(std::pair<int, std::vector<int, std::allocator<int> > >&, std::pair<int, std::vector<int, std::allocator<int> > >&)]' /usr/include/c++/4.4/bits/stl_algo.h:5258: instantiated from 'void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator<std::pair<int, std::vector<int, std::allocator<int> > >*, std::vector<std::pair<int, std::vector<int, std::allocator<int> > >, std::allocator<std::pair<int, std::vector<int, std::allocator<int> > > > > >, _Compare = bool (*)(std::pair<int, std::vector<int, std::allocator<int> > >&, std::pair<int, std::vector<int, std::allocator<int> > >&)]' grupe2.cpp:48: instantiated from here /usr/include/c++/4.4/bits/stl_algo.h:124: error: invalid initialization of reference of type 'std::pair<int, std::vector<int, std::allocator<int> > >&' from expression of type 'const std::pair<int, std::vector<int, std::allocator<int> > >' /usr/include/c++/4.4/bits/stl_algo.h:125: error: invalid initialization of reference of type 'std::pair<int, std::vector<int, std::allocator<int> > >&' from expression of type 'const std::pair<int, std::vector<int, std::allocator<int> > >' /usr/include/c++/4.4/bits/stl_algo.h:127: error: invalid initialization of reference of type 'std::pair<int, std::vector<int, std::allocator<int> > >&' from expression of type 'const std::pair<int, std::vector<int, std::allocator<int> > >' /usr/include/c++/4.4/bits/stl_algo.h:131: error: invalid initialization of reference of type 'std::pair<int, std::vector<int, std::allocator<int> > >&' from expression of type 'const std::pair<int, std::vector<int, std::allocator<int> > >' /usr/include/c++/4.4/bits/stl_algo.h:133: error: invalid initialization of reference of type 'std::pair<int, std::vector<int, std::allocator<int> > >&' from expression of type 'const std::pair<int, std::vector<int, std::allocator<int> > >'
ajutor