Borderou de evaluare (job #3121212)

Utilizator AnastasiaStefanescuAnastasia Stefanescu AnastasiaStefanescu Data 11 aprilie 2023 10:22:07
Problema Sub 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:79:13: error: 'strlen' was not declared in this scope 79 | l = strlen(sir); | ^~~~~~ main.cpp:2:1: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'? 1 | #include <fstream> +++ |+#include <cstring> 2 | #include <string> main.cpp:94:13: error: 'strlen' was not declared in this scope 94 | l = strlen(sir); | ^~~~~~ main.cpp:94:13: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'? Non zero exit status: 1

Ceva nu functioneaza?