Borderou de evaluare (job #2814953)
Utilizator | Data | 8 decembrie 2021 21:02:13 | |
---|---|---|---|
Problema | Ciclu Eulerian | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In member function 'char InParser::get_char()':
main.cpp:25:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
25 | if (buffer_index == SIZE)
| ~~~~~~~~~~~~~^~~~~~~
main.cpp: In constructor 'InParser::InParser(const char*)':
main.cpp:38:3: error: 'memset' was not declared in this scope
38 | memset(buffer, 0, SIZE);
| ^~~~~~
main.cpp:10:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
9 | #include <stack>
+++ |+#include <cstring>
10 |
main.cpp: In constructor 'OutParser::OutParser(const char*)':
main.cpp:93:3: error: 'memset' was not declared in this scope
93 | memset(buffer, 0, SIZE);
| ^~~~~~
main.cpp:93:3: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !