Problema | Numere Mari | Operații I/O |
![]() |
---|---|---|---|
Limita timp | 0.5 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #47554506 | Utilizator | |
Fișier | numere_mari.cpp | Dimensiune | 6.59 KB |
Data încărcării | 16 Decembrie 2023, 16:53 | Scor / rezultat | 100 puncte |
numere_mari.cpp: In member function 'big_int big_int::operator+(const big_int&) const': numere_mari.cpp:91: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:95:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (; i < digits.size(); ++i){ ^ numere_mari.cpp:99: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:121: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:128: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:147:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < digits.size(); ++i){ ^ numere_mari.cpp:149: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:105:19: warning: control reaches end of non-void function [-Wreturn-type] return ans;}} ^ numere_mari.cpp: In member function 'big_int big_int::operator-(const big_int&) const': numere_mari.cpp:136:19: warning: control reaches end of non-void function [-Wreturn-type] return ans;}} ^ numere_mari.cpp: In function 'bool operator<(const big_int&, const big_int&)': numere_mari.cpp:64:21: warning: control reaches end of non-void function [-Wreturn-type] return false;}} ^
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.172 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ă.