#537
ComponenteConexe2
Se dă lista muchiilor unui graf neorientat. Să se determine numărul de muchii care pot fi eliminate din graf astfel încât numărul de componente conexe ale grafului să nu se modifice.
Problema | ComponenteConexe2 | Operații I/O |
componenteconexe2.in /componenteconexe2.out
|
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #19317253 | Utilizator | |
Fișier | componenteconexe2.cpp | Dimensiune | 1.46 KB |
Data încărcării | 04 Decembrie 2019, 09:49 | Scor / rezultat | 0 puncte |
componenteconexe2.cpp: In function 'void re()': componenteconexe2.cpp:10:20: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("pause"); ^ componenteconexe2.cpp:11:18: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("cls"); ^ componenteconexe2.cpp: In function 'int main()': componenteconexe2.cpp:75:26: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("cls"); ^ componenteconexe2.cpp:79:26: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("cls"); ^ componenteconexe2.cpp: In function 'void doi_aria()': componenteconexe2.cpp:48:17: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized] if(a<0) a=-a; ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | Depășit | Limita de timp depășită | 20 | 0 | Exemplu | |
2 | Depășit | Limita de timp depășită | 60 | 0 | ||
4 | Depășit | Limita de timp depășită | 20 | 0 | ||
Punctaj total | 0 |
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema ComponenteConexe2 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ă.