Borderou de evaluare (job #2873445)
Utilizator | Data | 19 martie 2022 10:32:53 | |
---|---|---|---|
Problema | Șoricei | Status | done |
Runda | Universitatea Tehnică din Cluj-Napoca - 2022 - Concurs | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:1:1: error: stray '`' in program
1 | ```#include <iostream>
| ^
main.cpp:1:2: error: stray '`' in program
1 | ```#include <iostream>
| ^
main.cpp:1:3: error: stray '`' in program
1 | ```#include <iostream>
| ^
main.cpp:1:4: error: stray '#' in program
1 | ```#include <iostream>
| ^
main.cpp:102:2: error: stray '`' in program
102 | }```
| ^
main.cpp:102:3: error: stray '`' in program
102 | }```
| ^
main.cpp:102:4: error: stray '`' in program
102 | }```
| ^
main.cpp:1:5: error: 'include' does not name a type
1 | ```#include <iostream>
| ^~~~~~~
In file included from /usr/include/c++/10/iosfwd:40,
from /usr/include/c++/10/ios:38,
from /usr/include/c++/10/istream:38,
from /usr/include/c++/10/fstream:38,
from main.cpp:2:
/usr/include/c++/10/bits/postypes.h:98:11: error: 'ptrdiff_t' does not name a type
98 | typedef ptrdiff_t streamsize; // Signed integral type
| ^~~~~~~~~
/usr/include/c++/10/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++/10/bits/exception_ptr.h:40,
from /usr/include/c++/10/exception:147,
from /usr/include/c++/10/ios:39,
from /usr/include/c++/10/istream:38,
from /usr/include/c++/10/fstream:38,
from main.cpp:2:
/usr/include/c++/10/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++/10/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++/10/cwchar:44,
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !