Borderou de evaluare (job #3190028)
Utilizator | Data | 6 ianuarie 2024 20:20:33 | |
---|---|---|---|
Problema | Senat | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:39:12: error: 'strlen' was not declared in this scope
39 | p=strlen(A);
| ^~~~~~
main.cpp:4:1: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
3 | #include <vector>
+++ |+#include <cstring>
4 | using namespace std;
main.cpp:49:20: error: 'memcpy' was not declared in this scope
49 | memcpy(B, C, sizeof(B));
| ^~~~~~
main.cpp:49:20: note: 'memcpy' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
main.cpp:64:15: error: 'memcpy' was not declared in this scope
64 | memcpy(B, C, sizeof(B));
| ^~~~~~
main.cpp:64:15: note: 'memcpy' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
main.cpp:70:10: error: 'memset' was not declared in this scope
70 | memset(U, 0, sizeof(U));
| ^~~~~~
main.cpp:70:10: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
main.cpp:33:21: warning: unused variable 'k' [-Wunused-variable]
33 | int i, j, p, q, k, l;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !