Problema | Numere Mari | Operații I/O |
![]() |
---|---|---|---|
Limita timp | 0.5 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #57619720 | Utilizator | |
Fișier | numere_mari.cpp | Dimensiune | 7.20 KB |
Data încărcării | 08 Aprilie 2025, 08:40 | Scor / rezultat | 100 puncte |
numere_mari.cpp: In member function 'big_int big_int::operator+(const big_int&) const': numere_mari.cpp:151:62: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < std::min(digits.size(), b.digits.size()); ++i) ^ numere_mari.cpp:158:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (; i < digits.size(); ++i) ^ numere_mari.cpp:165:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (; i < b.digits.size(); ++i) ^ numere_mari.cpp: In member function 'big_int big_int::operator-(const big_int&) const': numere_mari.cpp:201:62: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < std::min(digits.size(), b.digits.size()); ++i) ^ numere_mari.cpp:215:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (; i < digits.size(); ++i) ^ numere_mari.cpp: In member function 'big_int big_int::operator*(const big_int&) const': numere_mari.cpp:249:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < digits.size(); ++i) ^ numere_mari.cpp:253:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < b.digits.size(); ++j) ^ numere_mari.cpp: In member function 'big_int big_int::operator+(const big_int&) const': numere_mari.cpp:177:3: warning: control reaches end of non-void function [-Wreturn-type] } ^ numere_mari.cpp: In member function 'big_int big_int::operator-(const big_int&) const': numere_mari.cpp:234:3: warning: control reaches end of non-void function [-Wreturn-type] } ^ numere_mari.cpp: In function 'bool operator<(const big_int&, const big_int&)': numere_mari.cpp:103:3: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | 0 secunde | OK. | 10 | 10 | Exemplu | |
2 | 0 secunde | OK. | 10 | 10 | ||
3 | 0 secunde | OK. | 10 | 10 | ||
4 | 0 secunde | OK. | 10 | 10 | ||
5 | 0 secunde | OK. | 10 | 10 | ||
6 | 0 secunde | OK. | 10 | 10 | ||
7 | 0 secunde | OK. | 10 | 10 | ||
8 | 0 secunde | OK. | 10 | 10 | ||
9 | 0.164 secunde | OK. | 10 | 10 | ||
10 | 0.008 secunde | OK. | 10 | 10 | ||
Punctaj total | 100 |
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Numere Mari face parte din a doua categorie. Pentru aceste probleme se folosește un program suport, furnizat de propunătorul problemei. 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ă.