Borderou de evaluare (job #791186)

Utilizator avatar evamusetescu Eva Musetescu evamusetescu IP ascuns
Problemă Cezar (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 24 oct. 2024 18:57:48 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:3:1: error: 'ifstream' does not name a type 3 | ifstream in("cezar.in"); | ^~~~~~~~ main.cpp:4:1: error: 'ofstream' does not name a type 4 | ofstream out("cezar.out"); | ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:10:5: error: 'in' was not declared in this scope; did you mean 'int'? 10 | in >> s; | ^~ | int main.cpp:11:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 11 | for(int i=0; i<strlen(s); i++) | ~^~~~~~~~~~ main.cpp:17:5: error: 'out' was not declared in this scope 17 | out<<s; | ^~~