#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 | #64726623 | Utilizator | |
| Fișier | componentebiconexe.cpp | Dimensiune | 2.11 KB |
| Data încărcării | 26 Mai 2026, 11:38 | Scor/rezultat | Eroare de compilare |
componentebiconexe.cpp: In function ‘int main()’: componentebiconexe.cpp:2:13: error: ‘gin’ was not declared in this scope; did you mean ‘sin’? 2 | #define in gin | ^~~ componentebiconexe.cpp:61:12: note: in expansion of macro ‘in’ 61 | int c; in >> c; | ^~ componentebiconexe.cpp:3:13: error: ‘gout’ was not declared in this scope; did you mean ‘fout’? 3 | #define out gout | ^~~~ componentebiconexe.cpp:77:9: note: in expansion of macro ‘out’ 77 | out << comp.size() << '\n'; | ^~~ componentebiconexe.cpp:3:13: error: ‘gout’ was not declared in this scope; did you mean ‘fout’? 3 | #define out gout | ^~~~ componentebiconexe.cpp:84:9: note: in expansion of macro ‘out’ 84 | out << sl.size() << '\n'; | ^~~ componentebiconexe.cpp:3:13: error: ‘gout’ was not declared in this scope; did you mean ‘fout’? 3 | #define out gout | ^~~~ componentebiconexe.cpp:89:9: note: in expansion of macro ‘out’ 89 | out << mch.size() << '\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ă.