#574
Să se determine câte grafuri orientate complete cu n
noduri există.
Problema | Complet | Operații I/O |
![]() |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #56155681 | Utilizator | |
Fișier | complet.cpp | Dimensiune | 8.97 KB |
Data încărcării | 08 Februarie 2025, 10:01 | Scor / rezultat | 100 puncte |
complet.cpp: In member function 'int BigInt::operator[](int) const': complet.cpp:104:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(digits.size() <= index || index < 0) ^ complet.cpp: In function 'BigInt& operator/=(BigInt&, const BigInt&)': complet.cpp:271:24: warning: unused variable 'm' [-Wunused-variable] int n = Length(a), m = Length(b); ^ complet.cpp: In function 'BigInt& operator%=(BigInt&, const BigInt&)': complet.cpp:308:24: warning: unused variable 'm' [-Wunused-variable] int n = Length(a), m = Length(b); ^ complet.cpp: In function 'int main()': complet.cpp:367:23: warning: unused variable 'r' [-Wunused-variable] long double n, p, r = 1; ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | 0 secunde | OK. | 10 | 10 | Exemplu | |
2 | 0 secunde | OK. | 10 | 10 | Exemplu | |
3 | 0 secunde | OK. | 20 | 20 | ||
4 | 0 secunde | OK. | 20 | 20 | ||
5 | 0 secunde | OK. | 20 | 20 | ||
6 | 0.012 secunde | OK. | 20 | 20 | ||
Punctaj total | 100 |
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Complet 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ă.