Borderou de evaluare (job #2920359)
Utilizator | Data | 23 august 2022 19:34:17 | |
---|---|---|---|
Problema | Algoritmul lui Dijkstra | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:7:1: error: 'ifstream' does not name a type
7 | ifstream fin("dijkstra.in");
| ^~~~~~~~
main.cpp:8:1: error: 'ofstream' does not name a type
8 | ofstream fout("dijkstra.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:15:2: error: 'fin' was not declared in this scope
15 | fin >> N >> M;
| ^~~
main.cpp:46:3: error: 'fout' was not declared in this scope
46 | fout << distances[i] << " ";
| ^~~~
main.cpp:48:2: error: 'fout' was not declared in this scope
48 | fout.close();
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !