Borderou de evaluare (job #3123061)

Utilizator TedyRRolea Theodor Ioan TedyR Data 21 aprilie 2023 19:13:12
Problema Parcurgere DFS - componente conexe Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:5:1: error: 'ifstream' does not name a type 5 | ifstream fin("dfs.in"); | ^~~~~~~~ main.cpp:6:1: error: 'ofstream' does not name a type 6 | ofstream fout("dfs.out"); | ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:21:5: error: 'fin' was not declared in this scope 21 | fin >> N >> M; | ^~~ main.cpp:40:5: error: 'fout' was not declared in this scope 40 | fout << nr_componente_conexe << endl; | ^~~~ Non zero exit status: 1

Ceva nu functioneaza?