|
|||||||||||||||
|
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 640418
Mesaj evaluator:
123.cpp:15: error: expected nested-name-specifier before 'vi'
123.cpp:15: error: 'vi' has not been declared
123.cpp:15: error: expected ';' before '=' token
123.cpp:15: error: expected unqualified-id before '=' token
123.cpp:16: error: expected nested-name-specifier before 'll'
123.cpp:16: error: 'll' has not been declared
123.cpp:16: error: expected ';' before '=' token
123.cpp:16: error: expected unqualified-id before '=' token
123.cpp:17: error: expected nested-name-specifier before 'ull'
123.cpp:17: error: 'ull' has not been declared
123.cpp:17: error: expected ';' before '=' token
123.cpp:17: error: expected unqualified-id before '=' token
123.cpp:18: error: expected nested-name-specifier before 'lld'
123.cpp:18: error: 'lld' has not been declared
123.cpp:18: error: expected ';' before '=' token
123.cpp:18: error: expected unqualified-id before '=' token
123.cpp:20: error: expected constructor, destructor, or type conversion before 'int'
123.cpp:21: error: expected constructor, destructor, or type conversion before 'int'
123.cpp:22: error: 'constexpr' does not name a type
123.cpp:24: error: '>>' should be '> >' within a nested template argument list
123.cpp:24: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
123.cpp:24: error: in C++98 'dir8' must be initialized by constructor, not by '{...}'
123.cpp:24: error: deducing from brace-enclosed initializer list requires #include <initializer_list>
123.cpp:24: error: deducing from brace-enclosed initializer list requires #include <initializer_list>
123.cpp:24: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
123.cpp:24: error: no matching function for call to 'std::vector<std::pair<int, int>, std::allocator<std::pair<int, 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::pair<int, int>, _Alloc = std::allocator<std::pair<int, int> >]
/usr/include/c++/4.4/bits/stl_vector.h:227: note: std::vector<_Tp, _Alloc>::vector(size_t, const _Tp&, const _Alloc&) [with _Tp = std::pair<int, int>, _Alloc = std::allocator<std::pair<int, int> >]
/usr/include/c++/4.4/bits/stl_vector.h:215: note: std::vector<_Tp, _Alloc>::vector(const _Alloc&) [with _Tp = std::pair<int, int>, _Alloc = std::allocator<std::pair<int, int> >]
/usr/include/c++/4.4/bits/stl_vector.h:207: note: std::vector<_Tp, _Alloc>::vector() [with _Tp = std::pair<int, int>, _Alloc = std::allocator<std::pair<int, int> >]
123.cpp:25: error: '>>' should be '> >' within a nested template argument list
123.cpp:25: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
123.cpp:25: error: in C++98 'dir4' must be initialized by constructor, not by '{...}'
123.cpp:25: error: deducing from brace-enclosed initializer list requires #include <initializer_list>
123.cpp:25: error: deducing from brace-enclosed initializer list requires #include <initializer_list>
123.cpp:25: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
123.cpp:25: error: no matching function for call to 'std::vector<std::pair<int, int>, std::allocator<std::pair<int, 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::pair<int, int>, _Alloc = std::allocator<std::pair<int, int> >]
/usr/include/c++/4.4/bits/stl_vector.h:227: note: std::vector<_Tp, _Alloc>::vector(size_t, const _Tp&, const _Alloc&) [with _Tp = std::pair<int, int>, _Alloc = std::allocator<std::pair<int, int> >]
/usr/include/c++/4.4/bits/stl_vector.h:215: note: std::vector<_Tp, _Alloc>::vector(const _Alloc&) [with _Tp = std::pair<int, int>, _Alloc = std::allocator<std::pair<int, int> >]
/usr/include/c++/4.4/bits/stl_vector.h:207: note: std::vector<_Tp, _Alloc>::vector() [with _Tp = std::pair<int, int>, _Alloc = std::allocator<std::pair<int, int> >]
123.cpp: In function 'void solve()':
123.cpp:62: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
123.cpp:62: error: deducing from brace-enclosed initializer list requires #include <initializer_list>
123.cpp:62: error: deducing from brace-enclosed initializer list requires #include <initializer_list>
123.cpp:62: error: no matching function for call to 'max(<brace-enclosed initializer list>)'
123.cpp: In function 'int main()':
123.cpp:70: error: 'nullptr' was not declared in this scope
|
||||||||||||||
| ajutor |