Borderou de evaluare (job #3224565)
Utilizator | Data | 15 aprilie 2024 17:16:05 | |
---|---|---|---|
Problema | BFS - Parcurgere in latime | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:11:5: error: 'fin' was not declared in this scope; did you mean 'sin'?
11 | fin >> n >> m >> s;
| ^~~
| sin
main.cpp:22:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
22 | for( i = 0; i < vecini[node].size(); i++ ){
| ~~^~~~~~~~~~~~~~~~~~~~~
main.cpp:33:7: error: 'fout' was not declared in this scope; did you mean 'cout'?
33 | fout << d[i] - 1 << " ";
| ^~~~
| cout
main.cpp:34:5: error: 'fout' was not declared in this scope; did you mean 'cout'?
34 | fout << endl;
| ^~~~
| cout
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !