#1572
ComponenteBiconexe
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 | #35521083 | Utilizator | |
Fișier | componentebiconexe.cpp | Dimensiune | 1.88 KB |
Data încărcării | 12 Martie 2022, 13:42 | Scor / rezultat | Eroare de compilare |
componentebiconexe.cpp: In function 'int main()': componentebiconexe.cpp:80:9: error: expected ';' before 'int' int r=sol[i].size(),j; ^ componentebiconexe.cpp:81:13: error: 'j' was not declared in this scope for(j=0;j<r;j++) ^ componentebiconexe.cpp:81:19: error: 'r' was not declared in this scope for(j=0;j<r;j++) ^ componentebiconexe.cpp:64:47: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("componentebiconexe.in","r",stdin); ^ componentebiconexe.cpp:65:49: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("componentebiconexe.out","w",stdout); ^ componentebiconexe.cpp:68:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&m,&n); ^ componentebiconexe.cpp:71:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&x,&y); ^
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ă.