Borderou de evaluare (job #3135426)

Utilizator andrei_botorogeanuBotorogeanu Andrei andrei_botorogeanu Data 3 iunie 2023 07:26:21
Problema Sortare prin comparare Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:2:1: error: 'ifstream' does not name a type 2 | ifstream fin ("algsort.in"); | ^~~~~~~~ main.cpp:3:1: error: 'ofstream' does not name a type 3 | ofstream fout ("algsort.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:23:9: error: 'fout' was not declared in this scope 23 | fout<<v[i]<< " "; | ^~~~ Non zero exit status: 1

Ceva nu functioneaza?