Borderou de evaluare (job #3296281)
Utilizator | Data | 12 mai 2025 11:43:27 | |
---|---|---|---|
Problema | Algoritmul lui Dijkstra | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:87:10: error: conflicting declaration 'InParser fin'
87 | InParser fin("dijkstra.in");
| ^~~
main.cpp:79:10: note: previous declaration as 'std::ifstream fin'
79 | ifstream fin("dijkstra.in");
| ^~~
main.cpp:88:15: error: redefinition of 'std::ofstream fout'
88 | std::ofstream fout("dijkstra.out");
| ^~~~
main.cpp:80:10: note: 'std::ofstream fout' previously declared here
80 | ofstream fout("dijkstra.out");
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !