Borderou de evaluare (job #2378498)
| Utilizator | Data | 12 martie 2019 13:04:22 | |
|---|---|---|---|
| Problema | BFS - Parcurgere in latime | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:8:13: error: conflicting declaration 'std::ofstream fin'
ofstream fin("bfs.out");
^
main.cpp:7:10: note: previous declaration as 'std::ifstream fin'
ifstream fin("bfs.in");
^~~
main.cpp: In function 'int main()':
main.cpp:60:5: error: 'fout' was not declared in this scope
fout<<d[i]<<" ";
^~~~
main.cpp:59:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=n;i++)
^~~
main.cpp:66:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
return 0;
^~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
