Borderou de evaluare (job #791188)

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:59:09 Scor 0

Raport evaluator

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