Borderou de evaluare (job #2898416)

Utilizator stefanliciuLiciu Vasile-Stefan stefanliciu Data 6 mai 2022 17:51:50
Problema Zeap 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:92:24: error: 'strlen' was not declared in this scope 92 | for (int i = 2; i < strlen(sir); ++i) | ^~~~~~ main.cpp:4:1: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'? 3 | #include <fstream> +++ |+#include <cstring> 4 | #include <string> main.cpp:100:24: error: 'strlen' was not declared in this scope 100 | for (int i = 2; i < strlen(sir); ++i) | ^~~~~~ main.cpp:100:24: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'? main.cpp:107:24: error: 'strlen' was not declared in this scope 107 | for (int i = 2; i < strlen(sir); ++i) | ^~~~~~ main.cpp:107:24: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'? Non zero exit status: 1

Ceva nu functioneaza?