|
|||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 635667
Mesaj evaluator:
ogorul.cpp:9: error: in C++98 'directions' must be initialized by constructor, not by '{...}'
ogorul.cpp:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
ogorul.cpp:9: error: deducing from brace-enclosed initializer list requires #include <initializer_list>
ogorul.cpp:9: error: deducing from brace-enclosed initializer list requires #include <initializer_list>
ogorul.cpp:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
ogorul.cpp:9: error: deducing from brace-enclosed initializer list requires #include <initializer_list>
ogorul.cpp:9: error: deducing from brace-enclosed initializer list requires #include <initializer_list>
ogorul.cpp:9: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
ogorul.cpp:9: error: deducing from brace-enclosed initializer list requires #include <initializer_list>
ogorul.cpp:9: error: no matching function for call to 'std::vector<std::vector<int, std::allocator<int> >, std::allocator<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 = std::vector<int, std::allocator<int> >, _Alloc = std::allocator<std::vector<int, std::allocator<int> > >]
/usr/include/c++/4.4/bits/stl_vector.h:207: note: std::vector<_Tp, _Alloc>::vector() [with _Tp = std::vector<int, std::allocator<int> >, _Alloc = std::allocator<std::vector<int, std::allocator<int> > >]
ogorul.cpp:40: error: '>>' should be '> >' within a nested template argument list
|
||||||||||||||
ajutor |