| 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 | #58524212 | Utilizator | |
| Fișier | numere_mari.cpp | Dimensiune | 8.84 KB |
| Data încărcării | 13 Iunie 2025, 23:00 | Scor/rezultat | 0 puncte |
numere_mari.cpp: In member function 'big_int::operator std::string() const': numere_mari.cpp:47:5: warning: no return statement in function returning non-void [-Wreturn-type] } ^ numere_mari.cpp: In member function 'big_int big_int::operator+(const big_int&) const': numere_mari.cpp:122:68: 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:129:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (; i < digits.size(); ++i) ^ numere_mari.cpp:136:38: 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:172:68: 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:186:36: 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:220:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < digits.size(); ++i) ^ numere_mari.cpp:224:43: 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:306:5: warning: no return statement in function returning non-void [-Wreturn-type] } ^ numere_mari.cpp: In member function 'big_int big_int::operator+(const big_int&) const': numere_mari.cpp:149:5: 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:206:5: 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:81:5: warning: control reaches end of non-void function [-Wreturn-type] } ^
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0.004 secunde | Caught fatal signal 11 | 10 | 0 | Exemplu | |
| 2 | 0.004 secunde | Caught fatal signal 11 | 10 | 0 | ||
| 3 | 0 secunde | Caught fatal signal 11 | 10 | 0 | ||
| 4 | 0 secunde | Caught fatal signal 11 | 10 | 0 | ||
| 5 | 0.004 secunde | Caught fatal signal 11 | 10 | 0 | ||
| 6 | 0 secunde | Caught fatal signal 11 | 10 | 0 | ||
| 7 | 0.004 secunde | Caught fatal signal 11 | 10 | 0 | ||
| 8 | 0.004 secunde | Caught fatal signal 11 | 10 | 0 | ||
| 9 | 0.004 secunde | Caught fatal signal 11 | 10 | 0 | ||
| 10 | 0.004 secunde | Caught fatal signal 11 | 10 | 0 | ||
| Punctaj total | 0 | |||||
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ă.