Borderou de evaluare (job #3300367)
Utilizator | Data | 15 iunie 2025 08:53:50 | |
---|---|---|---|
Problema | Parcurgere DFS - componente conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:10:15: error: 'n' was not declared in this scope
10 | vector<int> l[n];
| ^
main.cpp:12:1: error: expected unqualified-id before '{' token
12 | {
| ^
main.cpp: In function 'int main()':
main.cpp:30:23: error: 'y' was not declared in this scope
30 | fin>>x>>y;
| ^
main.cpp:31:15: error: 'l' was not declared in this scope
31 | l[x].push_back(nod);
| ^
main.cpp:39:12: error: 'dfs' was not declared in this scope; did you mean 'bfs'?
39 | dfs(i);
| ^~~
| bfs
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !