Borderou de evaluare (job #2779695)
Utilizator | Data | 4 octombrie 2021 19:05:04 | |
---|---|---|---|
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 'void read()':
main.cpp:13:5: error: 'fin' was not declared in this scope; did you mean 'sin'?
13 | fin >> n >> m >> s;
| ^~~
| sin
main.cpp: In function 'void BFS()':
main.cpp:34:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | for(int i = 0; i < L[nod].size(); i ++)
| ~~^~~~~~~~~~~~~~~
main.cpp:46:9: error: 'fout' was not declared in this scope
46 | fout << (dp[i] == 1e9 ? -1 : dp[i]) << " ";
| ^~~~
main.cpp: In function 'int main()':
main.cpp:53:5: error: 'solve' was not declared in this scope
53 | solve();
| ^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !