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

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 638620
Concurent: Theodora-Beatrice Enache (Enache Theodora-Beatrice)Progres: evaluare completă
Problemă: orePunctaj exemplu: 0
Limbaj: cppPunctaj final: 0
Dată: 26 mar 2025, 23:18
Mesaj evaluator:
ore.cpp: In function 'int main()': ore.cpp:19: error: in C++98 'c' must be initialized by constructor, not by '{...}' ore.cpp:19: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x ore.cpp:19: error: deducing from brace-enclosed initializer list requires #include <initializer_list> ore.cpp:19: error: no matching function for call to 'std::vector<int, std::allocator<int> >::vector(<brace-enclosed initializer list>)' /usr/include/c++/4.4/bits/stl_vector.h:241: note: candidates are: std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = int, _Alloc = std::allocator<int>] /usr/include/c++/4.4/bits/stl_vector.h:207: note: std::vector<_Tp, _Alloc>::vector() [with _Tp = int, _Alloc = std::allocator<int>]
ajutor