#2392
SumaXL
Se dau două numere, unul mare și unul mic, ambele pozitive. Calculați suma lor.
Problema | SumaXL | Operații I/O |
sumaxl.in /sumaxl.out
|
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #50721511 | Utilizator | |
Fișier | sumaxl.cpp | Dimensiune | 6.14 KB |
Data încărcării | 24 Aprilie 2024, 21:04 | Scor / rezultat | 0 puncte |
sumaxl.cpp: In member function 'int& bigInt::operator[](int)': sumaxl.cpp:24:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (index >= this->size()) { ^ sumaxl.cpp: In member function 'int bigInt::operator[](int) const': sumaxl.cpp:32:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (index >= this->number.size()) { ^ sumaxl.cpp: In member function 'int& bigInt::at(int)': sumaxl.cpp:40:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (index >= this->size()) { ^ sumaxl.cpp: In member function 'int bigInt::at(int) const': sumaxl.cpp:48:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (index >= this->number.size()) { ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | 0 secunde | Raspuns gresit. | 20 | 0 | Exemplu | |
2 | 0 secunde | Raspuns gresit. | 20 | 0 | ||
3 | 0 secunde | Raspuns gresit. | 20 | 0 | ||
4 | 0 secunde | Raspuns gresit. | 20 | 0 | ||
5 | 0 secunde | Raspuns gresit. | 20 | 0 | ||
Punctaj total | 0 |
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema SumaXL face parte din prima categorie. 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ă.