#412
Adiacenta
Se dă lista muchiilor unui graf neorientat. Să se afișeze matricea de adiacență a grafului.
Problema | Adiacenta | Operații I/O |
![]() adiacenta.in /adiacenta.out
|
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #46875952 | Utilizator | |
Fișier | adiacenta.cs | Dimensiune | 3.22 KB |
Data încărcării | 25 Noiembrie 2023, 14:28 | Scor / rezultat | 0 puncte |
Compilation succeeded - 2 warning(s) adiacenta.cs(44,19): warning CS0114: \`Graf.ToString()' hides inherited member \`object.ToString()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword /usr/lib/mono/4.5/mscorlib.dll (Location of the symbol related to previous warning) adiacenta.cs(19,16): warning CS0219: The variable \`m' is assigned but its value is never used
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | 0.032 secunde | Exited with error status 1 | 20 | 0 | Exemplu | |
2 | 0.032 secunde | Exited with error status 1 | 60 | 0 | ||
3 | 0.032 secunde | Exited with error status 1 | 20 | 0 | ||
Punctaj total | 0 |
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Adiacenta 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ă.