Borderou de evaluare (job #2989387)

Utilizator rastervcrastervc rastervc Data 6 martie 2023 15:46:38
Problema Color 4 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:1:10: error: 'fstream' was not declared in this scope 1 | include <fstream> | ^~~~~~~ main.cpp:1:10: error: 'fstream' was not declared in this scope main.cpp:1:10: error: 'fstream' was not declared in this scope main.cpp:1:10: error: 'fstream' was not declared in this scope main.cpp:1:10: error: 'fstream' was not declared in this scope main.cpp:1:10: error: 'fstream' was not declared in this scope main.cpp:1:10: error: 'fstream' was not declared in this scope main.cpp:1:10: error: 'fstream' was not declared in this scope main.cpp:1:10: error: 'fstream' was not declared in this scope main.cpp:1:1: error: 'include' does not name a type 1 | include <fstream> | ^~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_algobase.h:62, from /usr/include/c++/12.2.1/vector:60, 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: /usr/include/c++/12.2.1/type_traits:242:27: error: 'size_t' has not been declared 242 | template <typename _Tp, size_t = sizeof(_Tp)> | ^~~~~~ /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' 1386 | : public integral_constant<std::size_t, alignof(_Tp)> | ^~~~~~ /usr/include/c++/12.2.1/type_traits:1386:57: error: template argument 1 is invalid Non zero exit status: 1

Ceva nu functioneaza?