#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 | #29034652 | Utilizator | |
Fișier | componentebiconexe.cpp | Dimensiune | 5.86 KB |
Data încărcării | 28 Martie 2021, 21:15 | Scor / rezultat | Eroare de compilare |
componentebiconexe.cpp: In function 'void delEdge(int, int)': componentebiconexe.cpp:40:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < g[u].size(); i++) { ^ componentebiconexe.cpp:48: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:58:9: warning: unused variable 'gasit' [-Wunused-variable] int gasit, nr=1; ^ componentebiconexe.cpp: In function 'void articulatie(int)': componentebiconexe.cpp:97:9: warning: unused variable 'gasit' [-Wunused-variable] int gasit, nr=1; ^ componentebiconexe.cpp: In function 'void muchie(int, int)': componentebiconexe.cpp:138:9: warning: unused variable 'gasit' [-Wunused-variable] int gasit, nr=1; ^ componentebiconexe.cpp: In function 'void DFS2(int)': componentebiconexe.cpp:195:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < g[u].size(); i++) ^ componentebiconexe.cpp: In function 'int main()': componentebiconexe.cpp:290:22: error: invalid conversion from 'int (*)()' to 'int' [-fpermissive] DFS2(cauta); ^ componentebiconexe.cpp:189:6: error: initializing argument 1 of 'void DFS2(int)' [-fpermissive] void DFS2(int u) ^ componentebiconexe.cpp:336:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < g[f[z]-1].size(); j++) ^
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ă.