Borderou de evaluare (job #3358062)

Utilizator Hutanu_MaiaHutanu Ioana-Maia Hutanu_Maia Data 14 iunie 2026 13:12:11
Problema Paduri de multimi disjuncte 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("disjoint.in"); | ^~~~~~~~ main.cpp:3:1: error: 'ofstream' does not name a type 3 | ofstream fout("disjoint.out"); | ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:36:5: error: 'fin' was not declared in this scope; did you mean 'sin'? 36 | fin>>n>>m; | ^~~ | sin main.cpp:51:17: error: 'fout' was not declared in this scope 51 | fout<<"DA"<<'\n'; | ^~~~ main.cpp:53:17: error: 'fout' was not declared in this scope 53 | fout<<"NU"<<'\n'; | ^~~~ Non zero exit status: 1

Ceva nu functioneaza?