Borderou de evaluare (job #3371148)
| Utilizator | Data | 28 octombrie 2026 19:30:22 | |
|---|---|---|---|
| Problema | Parcurgere DFS - componente conexe | 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:19:29: error: 'viz' was not declared in this scope; did you mean 'vix'?
19 | if(!viz[i])
| ^~~
| vix
main.cpp:25:9: error: 'out' was not declared in this scope
25 | out<<nr_comp;
| ^~~
main.cpp: In function 'void read()':
main.cpp:30:9: error: 'in' was not declared in this scope; did you mean 'int'?
30 | in>>noduri>>muchii;
| ^~
| int
main.cpp: In function 'void dfs(int)':
main.cpp:41:9: error: 'viz' was not declared in this scope; did you mean 'vix'?
41 | viz[nod]=1;
| ^~~
| vix
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
