Borderou de evaluare (job #3316859)
| Utilizator | Data | 21 octombrie 2025 13:00:35 | |
|---|---|---|---|
| Problema | Parcurgere DFS - componente conexe | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-32 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:8:25: error: expected ',' or ';' before ':' token
8 | ofstream fout("dfs.out"):
| ^
main.cpp:14:1: error: expected initializer before 'void'
14 | void dfs(int u) {
| ^~~~
main.cpp: In function 'void solve()':
main.cpp:24:16: error: 'N' was not declared in this scope
24 | fin >> N >> M;
| ^
main.cpp:24:21: error: 'M' was not declared in this scope
24 | fin >> N >> M;
| ^
main.cpp:33:18: error: 'vizitat' was not declared in this scope
33 | if (!vizitat[i]) {
| ^~~~~~~
main.cpp:35:17: error: 'dfs' was not declared in this scope
35 | dfs(i);
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
