Borderou de evaluare (job #3224353)

Utilizator tricksteryetiGeorge Popa tricksteryeti Data 15 aprilie 2024 11:13:32
Problema Parcurgere DFS - componente conexe Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:32:23: error: variable 'std::ifstream inputFile' has initializer but incomplete type 32 | ifstream inputFile("dfs.in"); | ^ main.cpp:33:24: error: variable 'std::ofstream outputFile' has initializer but incomplete type 33 | ofstream outputFile("dfs.out"); | ^ main.cpp:36:9: error: redeclaration of 'int n' 36 | int n; | ^ main.cpp:31:9: note: 'int n' previously declared here 31 | int n, m; | ^ main.cpp:38:9: error: redeclaration of 'int m' 38 | int m; | ^ main.cpp:31:12: note: 'int m' previously declared here 31 | int n, m; | ^ Non zero exit status: 1

Ceva nu functioneaza?