Borderou de evaluare (job #2785772)
Utilizator | Data | 19 octombrie 2021 14:20:27 | |
---|---|---|---|
Problema | Graf | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void bfs(int)':
main.cpp:26:5: error: 'memset' was not declared in this scope
26 | memset(vizitat, 0, 7501);
| ^~~~~~
main.cpp:6:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
5 | #include <algorithm>
+++ |+#include <cstring>
6 |
main.cpp:35:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | for (int i = 0; i < precedent.conexiuni.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !