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

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 624463
Concurent: Ioana Popa (ioana_popa)Progres: evaluare completă
Problemă: traseuPunctaj exemplu: 0
Limbaj: cppPunctaj final: 0
Dată: 24 mar 2022, 18:45
Mesaj evaluator:
traseu.cpp:16: error: '>>' should be '> >' within a nested template argument list traseu.cpp:17: error: '>>' should be '> >' within a nested template argument list traseu.cpp:17: error: wrong number of template arguments (0, should be 1) /usr/include/c++/4.4/bits/stl_function.h:217: error: provided for 'template<class _Tp> struct std::greater' traseu.cpp:17: error: template argument 3 is invalid traseu.cpp:17: error: invalid type in declaration before ';' token traseu.cpp: In function 'void dijkstra(int)': traseu.cpp:25: error: request for member 'push' in 'q', which is of non-class type 'int' traseu.cpp:26: error: request for member 'empty' in 'q', which is of non-class type 'int' traseu.cpp:28: error: request for member 'top' in 'q', which is of non-class type 'int' traseu.cpp:29: error: request for member 'pop' in 'q', which is of non-class type 'int' traseu.cpp:33: warning: 'auto' will change meaning in C++0x; please remove it traseu.cpp:33: error: expected initializer before ':' token traseu.cpp:86: error: expected primary-expression at end of input traseu.cpp:86: error: expected ';' at end of input traseu.cpp:86: error: expected primary-expression at end of input traseu.cpp:86: error: expected ')' at end of input traseu.cpp:86: error: expected statement at end of input traseu.cpp:86: error: expected '}' at end of input traseu.cpp:86: error: expected '}' at end of input traseu.cpp:86: error: expected '}' at end of input
ajutor