#1572
ComponenteBiconexe
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 | #28867989 | Utilizator | |
Fișier | componentebiconexe.cpp | Dimensiune | 3.45 KB |
Data încărcării | 21 Martie 2021, 23:30 | Scor / rezultat | 30 puncte |
componentebiconexe.cpp: In function 'void delEdge(int, int)': componentebiconexe.cpp:38:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < g[u].size(); i++) { ^ componentebiconexe.cpp:46:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < g[ve].size(); i++) { ^ componentebiconexe.cpp: In function 'int articulatie2(int)': componentebiconexe.cpp:56:9: warning: unused variable 'gasit' [-Wunused-variable] int gasit, nr=1; ^ componentebiconexe.cpp: In function 'void articulatie(int)': componentebiconexe.cpp:95:9: warning: unused variable 'gasit' [-Wunused-variable] int gasit, nr=1; ^ componentebiconexe.cpp: In function 'void muchie(int, int)': componentebiconexe.cpp:136:9: warning: unused variable 'gasit' [-Wunused-variable] int gasit, nr=1; ^ componentebiconexe.cpp: In function 'int main()': componentebiconexe.cpp:218:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < g[f[z]-1].size(); j++) ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
0 | 0 secunde | Numar componente biconexe gresit! | 4 | 0 | ||
1 | Depășit | Limita de timp depășită | 4 | 0 | ||
2 | Depășit | Limita de timp depășită | 4 | 0 | ||
3 | Depășit | Limita de timp depășită | 4 | 0 | ||
4 | Depășit | Limita de timp depășită | 4 | 0 | ||
5 | Depășit | Limita de timp depășită | 4 | 0 | ||
6 | 0.208 secunde | Numar componente biconexe gresit! | 4 | 0 | ||
7 | 0.004 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 | Corect! | 3 | 3 | ||
11 | Depășit | Limita de timp depășită | 3 | 0 | ||
12 | Depășit | Limita de timp depășită | 3 | 0 | ||
13 | Depășit | Limita de timp depășită | 3 | 0 | ||
14 | Depășit | Limita de timp depășită | 3 | 0 | ||
15 | Depășit | Limita de timp depășită | 3 | 0 | ||
16 | 0.208 secunde | Corect! | 3 | 3 | ||
17 | 0.004 secunde | Corect! | 3 | 3 | ||
18 | 0 secunde | Corect! | 3 | 3 | ||
19 | 0 secunde | Corect! | 3 | 3 | ||
20 | 0 secunde | Corect! | 3 | 3 | ||
21 | Depășit | Limita de timp depășită | 3 | 0 | ||
22 | Depășit | Limita de timp depășită | 3 | 0 | ||
23 | Depășit | Limita de timp depășită | 3 | 0 | ||
24 | Depășit | Limita de timp depășită | 3 | 0 | ||
25 | Depășit | Limita de timp depășită | 3 | 0 | ||
26 | 0.208 secunde | Corect! | 3 | 3 | ||
27 | 0.012 secunde | Corect! | 3 | 3 | ||
28 | 0 secunde | Corect! | 3 | 3 | ||
29 | 0 secunde | Corect! | 3 | 3 | ||
Punctaj total | 30 |
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ă.