#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 | #57159920 | Utilizator | |
Fișier | componentebiconexe.cpp | Dimensiune | 2.82 KB |
Data încărcării | 18 Martie 2025, 17:48 | Scor / rezultat | Eroare de compilare |
componentebiconexe.cpp: In function 'void dfs(int, int)': componentebiconexe.cpp:60:42: warning: the address of 'low' will always evaluate as 'true' [-Waddress] if(stiva.top() != nod && && low[stiva.top()] == low[nod]) ^ componentebiconexe.cpp:60:45: error: expected ')' before '[' token if(stiva.top() != nod && && low[stiva.top()] == low[nod]) ^ componentebiconexe.cpp:59:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if(!stiva.empty()) ^ componentebiconexe.cpp:60:42: error: label 'low' used but not defined if(stiva.top() != nod && && low[stiva.top()] == low[nod]) ^
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ă.