Borderou de evaluare (job #3166892)

Utilizator amcbnCiobanu Andrei Mihai amcbn Data 9 noiembrie 2023 18:51:30
Problema Zoo Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:1:1: error: stray '#' in program 1 | #include <bits/stdc++.h> | ^ main.cpp:1:1: error: '\U0000feff' does not name a type 1 | #include <bits/stdc++.h> | In file included from /usr/include/c++/12.2.1/cmath:43, from /usr/include/c++/12.2.1/random:38, from main.cpp:2: /usr/include/c++/12.2.1/ext/type_traits.h:164:35: error: 'constexpr const bool __gnu_cxx::__is_null_pointer' redeclared as different kind of entity 164 | __is_null_pointer(std::nullptr_t) | ^ /usr/include/c++/12.2.1/ext/type_traits.h:159:5: note: previous declaration 'template<class _Type> constexpr bool __gnu_cxx::__is_null_pointer(_Type)' 159 | __is_null_pointer(_Type) | ^~~~~~~~~~~~~~~~~ /usr/include/c++/12.2.1/ext/type_traits.h:164:26: error: 'nullptr_t' is not a member of 'std' 164 | __is_null_pointer(std::nullptr_t) | ^~~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_pair.h:60, from /usr/include/c++/12.2.1/bits/stl_algobase.h:64, from /usr/include/c++/12.2.1/bits/specfun.h:45, from /usr/include/c++/12.2.1/cmath:1935: /usr/include/c++/12.2.1/type_traits:452:26: error: 'std::size_t' has not been declared 452 | template<typename _Tp, std::size_t _Size> | ^~~ /usr/include/c++/12.2.1/type_traits:453:25: error: '_Size' was not declared in this scope 453 | struct is_array<_Tp[_Size]> | ^~~~~ /usr/include/c++/12.2.1/type_traits:453:31: error: template argument 1 is invalid 453 | struct is_array<_Tp[_Size]> | ^ /usr/include/c++/12.2.1/type_traits:558:42: error: 'nullptr_t' is not a member of 'std' 558 | struct __is_null_pointer_helper<std::nullptr_t> | ^~~~~~~~~ /usr/include/c++/12.2.1/type_traits:558:51: error: template argument 1 is invalid 558 | struct __is_null_pointer_helper<std::nullptr_t> | ^ /usr/include/c++/12.2.1/type_traits:1386:37: error: 'size_t' is not a member of 'std'; did you mean 'size_t'? 1386 | : public integral_constant<std::size_t, alignof(_Tp)> | ^~~~~~ In file included from /usr/include/stdlib.h:32, from /usr/include/c++/12.2.1/bits/std_abs.h:38, from /usr/include/c++/12.2.1/cmath:47: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include/stddef.h:214:23: note: 'size_t' declared here 214 | typedef __SIZE_TYPE__ size_t; | ^~~~~~ /usr/include/c++/12.2.1/type_traits:1386:57: error: template argument 1 is invalid 1386 | : public integral_constant<std::size_t, alignof(_Tp)> | ^ /usr/include/c++/12.2.1/type_traits:1395:37: error: 'size_t' is not a member of 'std'; did you mean 'size_t'? Non zero exit status: 1

Ceva nu functioneaza?