#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 | #62551375 | Utilizator | |
| Fișier | componentebiconexe.cpp | Dimensiune | 2.06 KB |
| Data încărcării | 25 Ianuarie 2026, 19:23 | Scor/rezultat | Eroare de compilare |
componentebiconexe.cpp: In function 'void dfs(int, int)': componentebiconexe.cpp:24:16: error: missing template arguments before '(' token st.push(pair(nod, vecin)); ^ componentebiconexe.cpp:34:22: error: missing template arguments before '(' token mc.push_back(pair(nod, vecin)); ^ componentebiconexe.cpp:53:16: error: missing template arguments before '(' token st.push(pair(nod, vecin)); ^ componentebiconexe.cpp: In function 'int main()': componentebiconexe.cpp:74:16: error: 'size' was not declared in this scope g << size(cbc) << '\n'; ^ componentebiconexe.cpp:84:15: error: 'size' was not declared in this scope g << size(pc) << '\n'; ^ componentebiconexe.cpp:90:15: error: 'size' was not declared in this scope g << size(mc) << '\n'; ^
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ă.