Borderou de evaluare (job #2620352)
Utilizator | Data | 28 mai 2020 19:05:17 | |
---|---|---|---|
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 'void dfs(int)':
main.cpp:23:24: error: 'p' was not declared in this scope
for (int j=lst[x]; p!=0; p=urm[p])
^
main.cpp:27:18: warning: pointer to a function used in arithmetic [-Wpointer-arith]
dfs[y];
^
main.cpp:27:18: warning: value computed is not used [-Wunused-value]
dfs[y];
~~~~~^
main.cpp:27:18: warning: statement has no effect [-Wunused-value]
main.cpp:23:14: warning: unused variable 'j' [-Wunused-variable]
for (int j=lst[x]; p!=0; p=urm[p])
^
main.cpp: In function 'int main()':
main.cpp:33:5: error: 'fin' was not declared in this scope
fin>>k;
^~~
main.cpp:33:10: error: 'k' was not declared in this scope
fin>>k;
^
main.cpp:49:5: error: 'fout' was not declared in this scope
fout<<k;
^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !