Borderou de evaluare (job #1767306)

Utilizator potirasUAIC Borcan Andreea potiras Data 28 septembrie 2016 21:40:07
Problema Parcurgere DFS - componente conexe Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:8:1: error: ‘ifstream’ does not name a type ifstream fin ("dfs.in"); ^ user.cpp:9:1: error: ‘ofstream’ does not name a type ofstream fout ("dfs.out"); ^ user.cpp: In function ‘void dfs(int)’: user.cpp:17:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j != v[i].size(); j++) ^ user.cpp: In function ‘int main()’: user.cpp:30:2: error: ‘fin’ was not declared in this scope fin >> n >> muc; ^ user.cpp:46:2: error: ‘fout’ was not declared in this scope fout << ans; ^

Ceva nu functioneaza?