Borderou de evaluare (job #735333)

Utilizator avatar bruno_baciu Baciu Baciu bruno_baciu IP ascuns
Problemă Centru Prim (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 3 oct. 2023 18:00:44 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:2:1: error: 'ifstream' does not name a type 2 | ifstream in("centruprim.in"); | ^~~~~~~~ main.cpp:3:1: error: 'ofstream' does not name a type 3 | ofstream out("centruprim.out"); | ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:25:5: error: 'in' was not declared in this scope; did you mean 'n'? 25 | in>>n; | ^~ | n main.cpp:41:9: error: 'out' was not declared in this scope 41 | out<<0; | ^~~ main.cpp:43:9: error: 'out' was not declared in this scope 43 | out<<1; | ^~~