|
|||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 631347
Mesaj evaluator:
drenaj.cpp:13: error: '>>' should be '> >' within a nested template argument list
drenaj.cpp:15: error: in C++98 'di' must be initialized by constructor, not by '{...}'
drenaj.cpp:15: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
drenaj.cpp:15: error: deducing from brace-enclosed initializer list requires #include <initializer_list>
drenaj.cpp:15: 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>]
drenaj.cpp:15: error: in C++98 'dj' must be initialized by constructor, not by '{...}'
drenaj.cpp:15: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
drenaj.cpp:15: error: deducing from brace-enclosed initializer list requires #include <initializer_list>
drenaj.cpp:15: 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>]
drenaj.cpp: In function 'int Lee(int, int)':
drenaj.cpp:49: error: '>>' should be '> >' within a nested template argument list
|
||||||||||||||
ajutor |