Borderou de evaluare (job #2663307)

Utilizator TraianVVisan Traian-Dimitrie TraianV Data 25 octombrie 2020 23:29:39
Problema Sortare topologica Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:1:2: error: stray '#' in program w#include <iostream>///131 Visan Traian-Dimitrie Compilator:cygwin64 ^ main.cpp:1:1: error: 'w' does not name a type w#include <iostream>///131 Visan Traian-Dimitrie Compilator:cygwin64 ^ In file included from /usr/include/c++/6/bits/stl_algobase.h:62:0, from /usr/include/c++/6/vector:60, from main.cpp:3: /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/bits/move.h:57:0, from /usr/include/c++/6/bits/stl_pair.h:59, from /usr/include/c++/6/bits/stl_algobase.h:64, from /usr/include/c++/6/vector:60, 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> ^~~~~~ /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]> ^ /usr/include/c++/6/type_traits:558:37: error: 'nullptr_t' is not a member of 'std' struct __is_null_pointer_helper<std::nullptr_t> ^~~ /usr/include/c++/6/type_traits:558:37: error: 'nullptr_t' is not a member of 'std' /usr/include/c++/6/type_traits:558:51: error: template argument 1 is invalid struct __is_null_pointer_helper<std::nullptr_t> ^ /usr/include/c++/6/type_traits:1478:32: error: 'size_t' is not a member of 'std' : public integral_constant<std::size_t, __alignof__(_Tp)> { }; ^~~ /usr/include/c++/6/type_traits:1478:32: note: suggested alternative: In file included from /usr/include/string.h:32:0, from /usr/include/c++/6/cstring:42, from main.cpp:2: /usr/lib/gcc/x86_64-linux-gnu/6/include/stddef.h:216:23: note: 'size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ Non zero exit status: 1

Ceva nu functioneaza?