Borderou de evaluare (job #3312462)

Utilizator boboc132Boboc Teodor boboc132 Data 28 septembrie 2025 14:54:47
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:9:7: error: redefinition of 'int i' 9 | int i,i; | ^ main.cpp:9:5: note: 'int i' previously declared here 9 | int i,i; | ^ main.cpp: In function 'int main()': main.cpp:19:12: error: 'strlen' was not declared in this scope 19 | int rd=strlen(s); | ^~~~~~ 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:25:16: warning: operation on 'i' may be undefined [-Wsequence-point] 25 | t[i++]=s[i]; | ~^~ main.cpp:50:20: error: expected primary-expression before '^' token 50 | t[i++]=^; | ^ main.cpp:50:21: error: expected primary-expression before ';' token 50 | t[i++]=^; | ^ Non zero exit status: 1

Ceva nu functioneaza?