Borderou de evaluare (job #3371143)
| Utilizator | Data | 28 octombrie 2026 19:09:25 | |
|---|---|---|---|
| Problema | BFS - Parcurgere in latime | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:12:1: error: 'nr_min' does not name a type
12 | nr_min[nod_cautat]=0;
| ^~~~~~
main.cpp: In function 'void bfs(int, int, int)':
main.cpp:37:31: error: incompatible types in assignment of 'const int' to 'int [100001]'
37 | nr_min=min(nr_min[x], nr_min[nod_vecin]+1);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
