Problema | Numere Mari | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.5 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #43689132 | Utilizator | |
Fișier | numere_mari.cpp | Dimensiune | 7.98 KB |
Data încărcării | 10 Mai 2023, 11:15 | Scor / rezultat | 100 puncte |
numere_mari.cpp: In member function 'big_int big_int::operator+(const big_int&) const': numere_mari.cpp:164: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:171:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (; i < digits.size(); ++i) ^ numere_mari.cpp:178: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:215: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:229: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:264:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < digits.size(); ++i) ^ numere_mari.cpp:268: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:190: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:248: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:111: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.16 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ă.