#1572
Dându-se un graf conex, să se determine componentele biconexe, punctele de articulaţie şi muchiile critice ale acestuia.
| Problema | ComponenteBiconexe | Operații I/O |
componentebiconexe.in/componentebiconexe.out
|
|---|---|---|---|
| Limita timp | 0.5 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
| Id soluție | #21607335 | Utilizator | |
| Fișier | componentebiconexe.cpp | Dimensiune | 2.22 KB |
| Data încărcării | 06 Martie 2020, 10:27 | Scor/rezultat | 21 puncte |
componentebiconexe.cpp: In function 'void DFS(int, int)': componentebiconexe.cpp:23:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( int i = 0; i < Ad[nod].size(); ++i ) ^ componentebiconexe.cpp: In function 'void Noduri()': componentebiconexe.cpp:67:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( int j = 0; j < Ad[i].size(); ++j ) ^ componentebiconexe.cpp:75:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( int i = 0; i < n.size(); ++i ) ^ componentebiconexe.cpp:62:9: warning: unused variable 'nrn' [-Wunused-variable] int nrn = 0; ^ componentebiconexe.cpp: In function 'void Muchii()': componentebiconexe.cpp:84:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( int j = 0; j < Ad[i].size(); ++j ) ^ componentebiconexe.cpp:92:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( int i = 0; i < m.size(); ++i ) ^
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 0 | 0 secunde | Numar componente biconexe gresit! | 4 | 0 | ||
| 1 | 0.048 secunde | Numar componente biconexe gresit! | 4 | 0 | ||
| 2 | 0.024 secunde | Numar componente biconexe gresit! | 4 | 0 | ||
| 3 | 0.072 secunde | Numar componente biconexe gresit! | 4 | 0 | ||
| 4 | 0.004 secunde | Numar componente biconexe gresit! | 4 | 0 | ||
| 5 | 0.004 secunde | Numar componente biconexe gresit! | 4 | 0 | ||
| 6 | 0.016 secunde | Numar componente biconexe gresit! | 4 | 0 | ||
| 7 | 0 secunde | Numar componente biconexe gresit! | 4 | 0 | ||
| 8 | 0 secunde | Numar componente biconexe gresit! | 4 | 0 | ||
| 9 | 0 secunde | Numar componente biconexe gresit! | 4 | 0 | ||
| 10 | 0 secunde | Numar noduri critice gresit! | 3 | 0 | ||
| 11 | 0.052 secunde | Numar noduri critice gresit! | 3 | 0 | ||
| 12 | 0.028 secunde | Numar noduri critice gresit! | 3 | 0 | ||
| 13 | 0.076 secunde | Numar noduri critice gresit! | 3 | 0 | ||
| 14 | 0.004 secunde | Numar noduri critice gresit! | 3 | 0 | ||
| 15 | 0.004 secunde | Corect! | 3 | 3 | ||
| 16 | 0.016 secunde | Corect! | 3 | 3 | ||
| 17 | 0 secunde | Numar noduri critice gresit! | 3 | 0 | ||
| 18 | 0 secunde | Corect! | 3 | 3 | ||
| 19 | 0 secunde | Corect! | 3 | 3 | ||
| 20 | 0 secunde | Numar muchii critice gresit! | 3 | 0 | ||
| 21 | 0.048 secunde | Corect! | 3 | 3 | ||
| 22 | 0.024 secunde | Corect! | 3 | 3 | ||
| 23 | 0.08 secunde | Numar muchii critice gresit! | 3 | 0 | ||
| 24 | 0.004 secunde | Numar muchii critice gresit! | 3 | 0 | ||
| 25 | 0.004 secunde | Numar muchii critice gresit! | 3 | 0 | ||
| 26 | 0.016 secunde | Corect! | 3 | 3 | ||
| 27 | 0 secunde | Numar muchii critice gresit! | 3 | 0 | ||
| 28 | 0 secunde | Numar muchii critice gresit! | 3 | 0 | ||
| 29 | 0 secunde | Numar muchii critice gresit! | 3 | 0 | ||
| Punctaj total | 21 | |||||
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema ComponenteBiconexe 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ă.