#438
ComponenteConexe
Se dă lista muchiilor unui graf neorientat. Să se afișeze componentele conexe ale acestui graf.
Problema | ComponenteConexe | Operații I/O |
componenteconexe.in /componenteconexe.out
|
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #19650774 | Utilizator | |
Fișier | componenteconexe.cpp | Dimensiune | 1.01 KB |
Data încărcării | 16 Decembrie 2019, 11:04 | Scor / rezultat | Eroare de compilare |
componenteconexe.cpp: In function 'int main()': componenteconexe.cpp:14:15: error: invalid types 'int[int]' for array subscript a [ x ] [ y ] = a [ y ] [ x ] = 1; ^ componenteconexe.cpp:14:31: error: invalid types 'int[int]' for array subscript a [ x ] [ y ] = a [ y ] [ x ] = 1; ^ componenteconexe.cpp:21:28: error: invalid types 'int[int]' for array subscript if ( a [ i ] [ j ] ) { ^ componenteconexe.cpp:36:28: error: invalid types 'int[int]' for array subscript if ( a [ i ] [ j ] ) { ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema ComponenteConexe 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ă.