#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 | #63852351 | Utilizator | |
| Fișier | componentebiconexe.cpp | Dimensiune | 3.30 KB |
| Data încărcării | 22 Martie 2026, 17:42 | Scor/rezultat | Eroare de compilare |
componentebiconexe.cpp: In function 'void dfs(int, int, int)': componentebiconexe.cpp:49:15: error: expected unqualified-id before '[' token for (auto [v, id] : g[u]) { ^ componentebiconexe.cpp:49:15: error: expected ';' before '[' token componentebiconexe.cpp:49:16: error: 'v' was not declared in this scope for (auto [v, id] : g[u]) { ^ componentebiconexe.cpp:49:19: error: 'id' was not declared in this scope for (auto [v, id] : g[u]) { ^ componentebiconexe.cpp: In lambda function: componentebiconexe.cpp:49:23: error: expected '{' before ':' token for (auto [v, id] : g[u]) { ^ componentebiconexe.cpp: In function 'void dfs(int, int, int)': componentebiconexe.cpp:49:23: error: expected ';' before ':' token componentebiconexe.cpp:49:23: error: expected primary-expression before ':' token componentebiconexe.cpp:49:23: error: expected ')' before ':' token componentebiconexe.cpp:49:23: error: expected primary-expression before ':' token componentebiconexe.cpp:49:23: error: expected ';' before ':' token componentebiconexe.cpp:47:9: warning: unused variable 'children' [-Wunused-variable] int children = 0; ^ componentebiconexe.cpp:134:1: error: expected '}' at end of input } ^
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ă.