#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 | #34781033 | Utilizator | |
Fișier | componenteconexe.cpp | Dimensiune | 973 B |
Data încărcării | 13 Februarie 2022, 16:33 | Scor / rezultat | 0 puncte |
componenteconexe.cpp: In function 'void citire()': componenteconexe.cpp:9:9: warning: unused variable 'i' [-Wunused-variable] int i,x,y; ^ componenteconexe.cpp: In function 'int main()': componenteconexe.cpp:54:5: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized] for(int i=1;i<=k;i++) ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | 0 secunde | Raspuns gresit. | 20 | 0 | Exemplu | |
2 | 0 secunde | Raspuns gresit. | 60 | 0 | ||
4 | 0 secunde | Raspuns gresit. | 20 | 0 | ||
Punctaj total | 0 |
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ă.