#438
ComponenteConexe
Se dă lista muchiilor unui graf neorientat. Să se afișeze componentele conexe ale acestui graf.
Problema | ComponenteConexe | Operații I/O |
componenteconexe.in /componenteconexe.out
|
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #19086312 | Utilizator | |
Fișier | componenteconexe.cpp | Dimensiune | 820 B |
Data încărcării | 26 Noiembrie 2019, 17:38 | Scor / rezultat | Eroare de compilare |
componenteconexe.cpp: In function 'int dfs(int, int)': componenteconexe.cpp:15:16: error: too few arguments to function 'int dfs(int, int)' dfs(l); ^ componenteconexe.cpp:7:5: note: declared here int dfs(int x,int d) ^ componenteconexe.cpp:17:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ componenteconexe.cpp: In function 'int main()': componenteconexe.cpp:27:10: error: too few arguments to function 'int dfs(int, int)' dfs(1); ^ componenteconexe.cpp:7:5: note: declared here int dfs(int x,int d) ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema ComponenteConexe face parte din prima categorie. Soluția propusă de tine va fi evaluată astfel:
Suma punctajelor acordate pe testele utilizate pentru verificare este 100. Astfel, soluția ta poate obține cel mult 100 de puncte, caz în care se poate considera corectă.