Borderou de evaluare (job #3233847)

Utilizator SilviuC25Silviu Chisalita SilviuC25 Data 5 iunie 2024 08:01:27
Problema Xspe Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:3:1: error: 'ifstream' does not name a type 3 | ifstream fin("xspe.in"); | ^~~~~~~~ main.cpp:4:1: error: 'ofstream' does not name a type 4 | ofstream fout("xspe.out"); | ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:9:5: error: 'fin' was not declared in this scope; did you mean 'sin'? 9 | fin >> n; | ^~~ | sin main.cpp:27:9: error: 'fout' was not declared in this scope 27 | fout << a[i] + b[i] << " "; | ^~~~ Non zero exit status: 1

Ceva nu functioneaza?