Borderou de evaluare (job #3082888)

Utilizator pentru_fathergabeyPojar Vasile pentru_fathergabey Data 6 aprilie 2023 11:18:30
Problema Cc 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:21:19: error: 'strlen' was not declared in this scope 21 | for(int i=0;i<strlen(a);i++) | ^~~~~~ main.cpp:3:1: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'? 2 | #include <fstream> +++ |+#include <cstring> 3 | using namespace std; main.cpp:24:9: error: 'poz' was not declared in this scope 24 | poz=0; | ^~~ main.cpp:25:9: error: 'maxi' was not declared in this scope 25 | maxi=i; | ^~~~ main.cpp:36:9: error: 'strcpy' was not declared in this scope 36 | strcpy(a+maxi,a+maxi+poz-1); | ^~~~~~ main.cpp:36:9: note: 'strcpy' is defined in header '<cstring>'; did you forget to '#include <cstring>'? Non zero exit status: 1

Ceva nu functioneaza?