Borderou de evaluare (job #3204322)
Utilizator | Data | 16 februarie 2024 11:38:11 | |
---|---|---|---|
Problema | Evaluare 2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:1:10: error: 'algorithm' was not declared in this scope
1 | include <algorithm>
| ^~~~~~~~~
main.cpp:1:10: error: 'algorithm' was not declared in this scope
main.cpp:1:10: error: 'algorithm' was not declared in this scope
main.cpp:1:10: error: 'algorithm' was not declared in this scope
main.cpp:1:10: error: 'algorithm' was not declared in this scope
main.cpp:1:10: error: 'algorithm' was not declared in this scope
main.cpp:1:10: error: 'algorithm' was not declared in this scope
main.cpp:1:10: error: 'algorithm' was not declared in this scope
main.cpp:1:10: error: 'algorithm' was not declared in this scope
main.cpp:1:1: error: 'include' does not name a type
1 | include <algorithm>
| ^~~~~~~
In file included from /usr/include/c++/12.2.1/bits/char_traits.h:39,
from /usr/include/c++/12.2.1/string:40,
from /usr/include/c++/12.2.1/bitset:47,
from main.cpp:2:
/usr/include/c++/12.2.1/bits/postypes.h:68:11: error: 'ptrdiff_t' does not name a type
68 | typedef ptrdiff_t streamsize; // Signed integral type
| ^~~~~~~~~
/usr/include/c++/12.2.1/bits/postypes.h:41:1: note: 'ptrdiff_t' is defined in header '<cstddef>'; did you forget to '#include <cstddef>'?
40 | #include <cwchar> // For mbstate_t
+++ |+#include <cstddef>
41 |
In file included from /usr/include/c++/12.2.1/bits/char_traits.h:42:
/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/wchar.h:35,
from /usr/include/c++/12.2.1/cwchar:44,
from /usr/include/c++/12.2.1/bits/postypes.h:40:
/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;
| ^~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !