Borderou de evaluare (job #3254911)

Utilizator dorucioroslanCioroslan Doru dorucioroslan Data 9 noiembrie 2024 10:18:01
Problema Arbore partial de cost minim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:1:21: error: extended character … is not valid in an identifier 1 | 98% of storage used … | ^ main.cpp:2:24: warning: missing terminating ' character 2 | If you run out, you can't create, edit and upload files. Get 100 GB of storage for RON 9.99 RON 2.49 for one month (personalised price). | ^ main.cpp:2:24: error: missing terminating ' character 2 | If you run out, you can't create, edit and upload files. Get 100 GB of storage for RON 9.99 RON 2.49 for one month (personalised price). | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:1:1: error: expected unqualified-id before numeric constant 1 | 98% of storage used … | ^~ In file included from /usr/include/c++/12.2.1/iosfwd:40, from /usr/include/c++/12.2.1/ios:38, from /usr/include/c++/12.2.1/ostream:38, from /usr/include/c++/12.2.1/iostream:39, from main.cpp:4: /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/exception_ptr.h:40, from /usr/include/c++/12.2.1/exception:168, from /usr/include/c++/12.2.1/ios:39: /usr/include/c++/12.2.1/new:126:26: error: declaration of 'operator new' as non-function 126 | _GLIBCXX_NODISCARD void* operator new(std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^~~~~~~~ /usr/include/c++/12.2.1/new:126:44: error: 'size_t' is not a member of 'std'; did you mean 'size_t'? 126 | _GLIBCXX_NODISCARD void* operator new(std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^~~~~~ 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; | ^~~~~~ /usr/include/c++/12.2.1/new:127:41: error: attributes after parenthesized initializer ignored [-fpermissive] 127 | __attribute__((__externally_visible__)); | ^ /usr/include/c++/12.2.1/new:128:26: error: declaration of 'operator new []' as non-function 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^~~~~~~~ /usr/include/c++/12.2.1/new:128:46: error: 'size_t' is not a member of 'std'; did you mean 'size_t'? 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^~~~~~ /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?