Borderou de evaluare (job #2147338)
Utilizator | Data | 28 februarie 2018 17:45:38 | |
---|---|---|---|
Problema | Parcurgere DFS - componente conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:14:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<graph[node].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:42:5: error: ‘fout’ is not a member of ‘std’
std::fout<<con;
^
user.cpp:42:5: note: suggested alternative:
user.cpp:6:10: note: ‘fout’
ofstream fout("dfs.out");
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !