Borderou de evaluare (job #3147296)
Utilizator | Data | 25 august 2023 14:59:41 | |
---|---|---|---|
Problema | Parcurgere DFS - componente conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5:24: error: expected ')' before ';' token
5 | ofstream fout("dfs.out";)
| ~ ^
| )
main.cpp:5:25: error: expected unqualified-id before ')' token
5 | ofstream fout("dfs.out";)
| ^
main.cpp: In function 'int main()':
main.cpp:13:6: error: 'v' was not declared in this scope
13 | v[x][y]=v[y][x]=1;
| ^
main.cpp:18:11: error: 'v' was not declared in this scope
18 | if(v[i][j]==1 && a[j]==0) {
| ^
main.cpp:18:26: error: 'a' was not declared in this scope
18 | if(v[i][j]==1 && a[j]==0) {
| ^
main.cpp:25:7: error: 'a' was not declared in this scope
25 | if(a[i]==0 && nr==0) m++;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !