#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 | #58008244 | Utilizator | |
| Fișier | componentebiconexe.cpp | Dimensiune | 2.61 KB |
| Data încărcării | 07 Mai 2025, 23:08 | Scor/rezultat | Eroare de compilare |
componentebiconexe.cpp: In function 'void dfs(int, int)': componentebiconexe.cpp:54:26: error: expected unqualified-id before '[' token auto [nd, ndd] = st.top(); ^ componentebiconexe.cpp:56:31: error: 'nd' was not declared in this scope bc.insert(nd); ^ componentebiconexe.cpp:57:31: error: 'ndd' was not declared in this scope bc.insert(ndd); ^ componentebiconexe.cpp: In function 'int main()': componentebiconexe.cpp:117:19: error: expected unqualified-id before '[' token for (auto [a, b] : muchii) ^ componentebiconexe.cpp:117:19: error: expected ';' before '[' token componentebiconexe.cpp:117:20: error: 'a' was not declared in this scope for (auto [a, b] : muchii) ^ componentebiconexe.cpp:117:23: error: 'b' was not declared in this scope for (auto [a, b] : muchii) ^ componentebiconexe.cpp: In lambda function: componentebiconexe.cpp:117:26: error: expected '{' before ':' token for (auto [a, b] : muchii) ^ componentebiconexe.cpp: In function 'int main()': componentebiconexe.cpp:117:26: error: expected ';' before ':' token componentebiconexe.cpp:117:26: error: expected primary-expression before ':' token componentebiconexe.cpp:117:26: error: expected ')' before ':' token componentebiconexe.cpp:117:26: error: expected primary-expression before ':' token componentebiconexe.cpp:117:26: error: expected ';' before ':' token
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ă.