#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 | #57836789 | Utilizator | |
Fișier | componentebiconexe.cpp | Dimensiune | 2.29 KB |
Data încărcării | 24 Aprilie 2025, 21:31 | Scor / rezultat | Eroare de compilare |
componentebiconexe.cpp: In function 'int main()': componentebiconexe.cpp:108:14: error: expected unqualified-id before '[' token for (auto [u, v] : i) ^ componentebiconexe.cpp:108:14: error: expected ';' before '[' token componentebiconexe.cpp:108:15: error: 'u' was not declared in this scope for (auto [u, v] : i) ^ componentebiconexe.cpp:108:18: error: 'v' was not declared in this scope for (auto [u, v] : i) ^ componentebiconexe.cpp: In lambda function: componentebiconexe.cpp:108:21: error: expected '{' before ':' token for (auto [u, v] : i) ^ componentebiconexe.cpp: In function 'int main()': componentebiconexe.cpp:108:21: error: expected ';' before ':' token componentebiconexe.cpp:108:21: error: expected primary-expression before ':' token componentebiconexe.cpp:108:21: error: expected ')' before ':' token componentebiconexe.cpp:108:21: error: expected primary-expression before ':' token componentebiconexe.cpp:108:21: error: expected ';' before ':' token componentebiconexe.cpp:105:14: warning: unused variable 'i' [-Wunused-variable] for (auto& i : bic) ^ componentebiconexe.cpp:141:13: error: expected unqualified-id before '[' token for (auto [u, v] : bridges) ^ componentebiconexe.cpp:141:13: error: expected ';' before '[' token componentebiconexe.cpp:141:14: error: 'u' was not declared in this scope for (auto [u, v] : bridges) ^ componentebiconexe.cpp:141:17: error: 'v' was not declared in this scope for (auto [u, v] : bridges) ^ componentebiconexe.cpp: In lambda function: componentebiconexe.cpp:141:20: error: expected '{' before ':' token for (auto [u, v] : bridges) ^ componentebiconexe.cpp: In function 'int main()': componentebiconexe.cpp:141:20: error: expected ';' before ':' token componentebiconexe.cpp:141:20: error: expected primary-expression before ':' token componentebiconexe.cpp:141:20: error: expected ')' before ':' token componentebiconexe.cpp:141:20: error: expected primary-expression before ':' token componentebiconexe.cpp:141:20: 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ă.