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

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 631092
Concurent: Octavian Dunel (Dunel Octavian)Progres: evaluare completă
Problemă: lacuriPunctaj exemplu: 0
Limbaj: cppPunctaj final: 0
Dată: 6 nov 2023, 22:09
Mesaj evaluator:
lacuri.cpp:17: error: in C++98 'linie' must be initialized by constructor, not by '{...}' lacuri.cpp:17: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x lacuri.cpp:17: error: deducing from brace-enclosed initializer list requires #include <initializer_list> lacuri.cpp:17: 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>] lacuri.cpp:18: error: in C++98 'coloana' must be initialized by constructor, not by '{...}' lacuri.cpp:18: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x lacuri.cpp:18: error: deducing from brace-enclosed initializer list requires #include <initializer_list> lacuri.cpp:18: 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>] lacuri.cpp: In function 'void print_matrice()': lacuri.cpp:35: warning: comparison between signed and unsigned integer expressions lacuri.cpp:37: warning: comparison between signed and unsigned integer expressions lacuri.cpp: In function 'void Lee()': lacuri.cpp:57: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x lacuri.cpp:57: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x lacuri.cpp:66: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x lacuri.cpp:66: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
ajutor