#583
Tare conexitate
Se dă un graf orientat cu n
noduri. Să se determine câte componente tare conexe are graful dat.
Problema | Tare conexitate | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #36527931 | Utilizator | |
Fișier | tare_conexitate.cpp | Dimensiune | 980 B |
Data încărcării | 07 Mai 2022, 09:44 | Scor / rezultat | 0 puncte |
tare_conexitate.cpp: In function 'int main()': tare_conexitate.cpp:49:9: warning: unused variable 'nod1' [-Wunused-variable] int nod1, x, ok=0, p; ^ tare_conexitate.cpp:49:15: warning: unused variable 'x' [-Wunused-variable] int nod1, x, ok=0, p; ^ tare_conexitate.cpp:49:18: warning: unused variable 'ok' [-Wunused-variable] int nod1, x, ok=0, p; ^ tare_conexitate.cpp:49:24: warning: unused variable 'p' [-Wunused-variable] int nod1, x, ok=0, p; ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | 0 secunde | Raspuns gresit. | 20 | 0 | Exemplu | |
2 | 0 secunde | Raspuns gresit. | 40 | 0 | ||
3 | 0 secunde | Raspuns gresit. | 40 | 0 | ||
Punctaj total | 0 |
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Tare conexitate 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ă.