| 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 | #64547208 | Utilizator | |
| Fișier | numere_mari.cpp | Dimensiune | 7.98 KB |
| Data încărcării | 13 Mai 2026, 16:22 | Scor/rezultat | 100 puncte |
numere_mari.cpp: In member function ‘big_int big_int::operator+(const big_int&) const’: numere_mari.cpp:164:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const long unsigned int’ [-Wsign-compare] 164 | for (i = 0; i < std::min(digits.size(), b.digits.size()); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numere_mari.cpp:171:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 171 | for (; i < digits.size(); ++i) | ~~^~~~~~~~~~~~~~~ numere_mari.cpp:178:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 178 | 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:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const long unsigned int’ [-Wsign-compare] 215 | for (i = 0; i < std::min(digits.size(), b.digits.size()); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numere_mari.cpp:229:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 229 | for (; i < digits.size(); ++i) | ~~^~~~~~~~~~~~~~~ numere_mari.cpp: In member function ‘big_int big_int::operator*(const big_int&) const’: numere_mari.cpp:264:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 264 | for (i = 0; i < digits.size(); ++i) | ~~^~~~~~~~~~~~~~~ numere_mari.cpp:268:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 268 | 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] 190 | } | ^ 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] 248 | } | ^ 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] 111 | } | ^
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0.001 secunde | OK. | 10 | 10 | Exemplu | |
| 2 | 0.001 secunde | OK. | 10 | 10 | ||
| 3 | 0.001 secunde | OK. | 10 | 10 | ||
| 4 | 0.002 secunde | OK. | 10 | 10 | ||
| 5 | 0.001 secunde | OK. | 10 | 10 | ||
| 6 | 0.001 secunde | OK. | 10 | 10 | ||
| 7 | 0.001 secunde | OK. | 10 | 10 | ||
| 8 | 0.001 secunde | OK. | 10 | 10 | ||
| 9 | 0.08 secunde | OK. | 10 | 10 | ||
| 10 | 0.012 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ă.