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 | #49724783 | Utilizator | |
Fișier | numere_mari.cpp | Dimensiune | 6.96 KB |
Data încărcării | 13 Martie 2024, 11:27 | Scor / rezultat | 0 puncte |
numere_mari.cpp: In member function 'big_int::operator std::string() const': numere_mari.cpp:36:29: warning: no return statement in function returning non-void [-Wreturn-type] operator string() const{} ^ numere_mari.cpp: In function 'bool operator==(const big_int&, const big_int&)': numere_mari.cpp:41:65: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < min(a.digits.size(), b.digits.size()); ++i) { ^ numere_mari.cpp: In member function 'big_int big_int::operator+(const big_int&) const': numere_mari.cpp:98:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < min(digits.size(), b.digits.size()); ++i) { ^ numere_mari.cpp:103:19: warning: statement has no effect [-Wunused-value] for (i; i < digits.size(); ++i) { ^ numere_mari.cpp:103:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i; i < digits.size(); ++i) { ^ numere_mari.cpp:108:19: warning: statement has no effect [-Wunused-value] for (i; i < b.digits.size(); ++i) { ^ numere_mari.cpp:108:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i; i < b.digits.size(); ++i) { ^ numere_mari.cpp: In member function 'big_int big_int::operator-(const big_int&) const': numere_mari.cpp:140:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < min(digits.size(), b.digits.size()); ++i) { ^ numere_mari.cpp:151:19: warning: statement has no effect [-Wunused-value] for (i; i < digits.size(); ++i) { ^ numere_mari.cpp:151:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i; i < digits.size(); ++i) { ^ numere_mari.cpp: In member function 'big_int big_int::operator*(const big_int&) const': numere_mari.cpp:176:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < this->digits.size(); ++i) { ^ numere_mari.cpp:177:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int 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:204: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: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:169:5: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | 0 secunde | Caught fatal signal 11 | 10 | 0 | Exemplu | |
2 | 0 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 secunde | Caught fatal signal 11 | 10 | 0 | ||
6 | 0 secunde | Caught fatal signal 11 | 10 | 0 | ||
7 | 0 secunde | Caught fatal signal 11 | 10 | 0 | ||
8 | 0 secunde | Caught fatal signal 11 | 10 | 0 | ||
9 | 0 secunde | Caught fatal signal 11 | 10 | 0 | ||
10 | 0 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ă.