Borderou de evaluare (job #2226839)

Utilizator NOSCOPEPROKENDYMACHEAMACUMVREAU NOSCOPEPROKENDY Data 30 iulie 2018 18:43:55
Problema Partii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:1:1: error: stray ‘\177’ in program #include <iostream> ^ user.cpp:1:2: error: stray ‘#’ in program #include <iostream> ^ user.cpp:1:3: error: ‘include’ does not name a type #include <iostream> ^~~~~~~ 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 user.cpp:2: /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 user.cpp:2: /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 user.cpp:2: /usr/include/c++/6/type_traits:359:31: error: ‘std::size_t’ has not been declared template<typename _Tp, std::size_t _Size> ^~~~~~ /usr/include/c++/6/type_traits:360:25: error: ‘_Size’ was not declared in this scope struct is_array<_Tp[_Size]> ^~~~~ /usr/include/c++/6/type_traits:360:31: error: template argument 1 is invalid struct is_array<_Tp[_Size]> ^

Ceva nu functioneaza?