Borderou de evaluare (job #2479925)

Utilizator lucianistratiIstrati Lucian lucianistrati Data 24 octombrie 2019 18:07:23
Problema Inel Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:1:1: error: 'include' does not name a type include <iostream> ^~~~~~~ In file included from /usr/include/c++/6/cmath:43:0, from /usr/include/c++/6/math.h:36, from main.cpp:2: /usr/include/c++/6/ext/type_traits.h:162:35: error: '__gnu_cxx::__is_null_pointer' declared as an 'inline' variable __is_null_pointer(std::nullptr_t) ^ /usr/include/c++/6/ext/type_traits.h:162:35: error: 'bool __gnu_cxx::__is_null_pointer' redeclared as different kind of symbol /usr/include/c++/6/ext/type_traits.h:157:5: note: previous declaration 'template<class _Type> bool __gnu_cxx::__is_null_pointer(_Type)' __is_null_pointer(_Type) ^~~~~~~~~~~~~~~~~ /usr/include/c++/6/ext/type_traits.h:162:21: error: 'nullptr_t' is not a member of 'std' __is_null_pointer(std::nullptr_t) ^~~ In file included from /usr/include/c++/6/iosfwd:40:0, from /usr/include/c++/6/ios:38, from /usr/include/c++/6/istream:38, from /usr/include/c++/6/fstream:38, from main.cpp:3: /usr/include/c++/6/bits/postypes.h:98:11: error: 'ptrdiff_t' does not name a type typedef ptrdiff_t streamsize; // Signed integral type ^~~~~~~~~ In file included from /usr/include/c++/6/exception:170:0, from /usr/include/c++/6/ios:39, from /usr/include/c++/6/istream:38, from /usr/include/c++/6/fstream:38, from main.cpp:3: /usr/include/c++/6/bits/exception_ptr.h:97:30: error: field 'nullptr_t' has incomplete type 'std::__exception_ptr::exception_ptr' exception_ptr(nullptr_t) noexcept ^ /usr/include/c++/6/bits/exception_ptr.h:77:11: note: definition of 'class std::__exception_ptr::exception_ptr' is not complete until the closing brace class exception_ptr ^~~~~~~~~~~~~ /usr/include/c++/6/bits/exception_ptr.h:97:30: error: expected ';' at end of member declaration exception_ptr(nullptr_t) noexcept ^ /usr/include/c++/6/bits/exception_ptr.h:97:32: error: expected unqualified-id before 'noexcept' exception_ptr(nullptr_t) noexcept ^~~~~~~~ In file included from /usr/include/c++/6/bits/move.h:57:0, from /usr/include/c++/6/bits/nested_exception.h:40, from /usr/include/c++/6/exception:171, from /usr/include/c++/6/ios:39, from /usr/include/c++/6/istream:38, from /usr/include/c++/6/fstream:38, from main.cpp:3: /usr/include/c++/6/type_traits:359:31: error: 'std::size_t' has not been declared template<typename _Tp, std::size_t _Size> Non zero exit status: 1

Ceva nu functioneaza?