#4781
Se dă lista muchiilor unui graf neorientat. Să se afișeze componentele conexe ale acestui graf.
| Problema | ComponenteConexe6 | Operații I/O |
componenteconexe6.in/componenteconexe6.out
|
|---|---|---|---|
| Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
| Id soluție | #64332505 | Utilizator | |
| Fișier | componenteconexe6.cpp | Dimensiune | 649 B |
| Data încărcării | 30 Aprilie 2026, 09:37 | Scor/rezultat | 100 puncte |
componenteconexe6.cpp: In function ‘int main()’: componenteconexe6.cpp:26:8: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 26 | for(int j=1;j<=n;j++) | ^~~ componenteconexe6.cpp:28:12: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 28 | fout<<endl; | ^~~~
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0.001 secunde | OK. | 20 | 20 | Exemplu | |
| 2 | 0.001 secunde | OK. | 60 | 60 | ||
| 4 | 0.001 secunde | OK. | 20 | 20 | ||
| Punctaj total | 100 | |||||
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema ComponenteConexe6 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ă.