Borderou de evaluare (job #3333810)
| Utilizator | Data | 15 ianuarie 2026 10:28:22 | |
|---|---|---|---|
| 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 bfs(int)':
main.cpp:26:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | for(i=0 ;i< A[x].size();i++)//parcurg varfurile
| ~^~~~~~~~~~~~~
main.cpp: At global scope:
main.cpp:51:1: error: ISO C++ forbids declaration of 'afisare_lad' with no type [-fpermissive]
51 | afisare_lad()
| ^~~~~~~~~~~
main.cpp: In function 'int afisare_lad()':
main.cpp:55:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
55 | for (int j=0; j<A[i].size(); j++)
| ~^~~~~~~~~~~~
main.cpp:59:1: warning: no return statement in function returning non-void [-Wreturn-type]
59 | }
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
