Pagini recente » Borderou de evaluare (job #1178141) | Rating Andrei Gabor (andreigbr) | Borderou de evaluare (job #2812064) | Cod sursa (job #577247) | Borderou de evaluare (job #3150499)
Borderou de evaluare (job #3150499)
Raport evaluator
Compilare:
main.cpp: In member function 'myclass::bigInt myclass::bigInt::operator+(const myclass::bigInt&) const':
main.cpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | while(index < oth.digits.size() && index < digits.size()) {
| ~~~~~~^~~~~~~~~~~~~~~~~~~
main.cpp:33:54: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | while(index < oth.digits.size() && index < digits.size()) {
| ~~~~~~^~~~~~~~~~~~~~~
main.cpp:38:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | while(index < oth.digits.size()) {
| ~~~~~~^~~~~~~~~~~~~~~~~~~
main.cpp:43:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | while(index < digits.size()) {
| ~~~~~~^~~~~~~~~~~~~~~
main.cpp: In member function 'void myclass::bigInt::operator+=(const myclass::bigInt&)':
main.cpp:57:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
57 | while(index < oth.digits.size() && index < digits.size()) {
| ~~~~~~^~~~~~~~~~~~~~~~~~~
main.cpp:57:54: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
57 | while(index < oth.digits.size() && index < digits.size()) {
| ~~~~~~^~~~~~~~~~~~~~~
main.cpp:63:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
63 | while(index < oth.digits.size()) {
| ~~~~~~^~~~~~~~~~~~~~~~~~~
main.cpp:70:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
70 | while(index < digits.size()) {
| ~~~~~~^~~~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | OK | 10 |
| 2 | 0ms | 303kb | OK | 10 |
| 3 | 0ms | 303kb | OK | 10 |
| 4 | 0ms | 303kb | OK | 10 |
| 5 | 0ms | 303kb | OK | 10 |
| 6 | 0ms | 303kb | OK | 10 |
| 7 | 1ms | 303kb | OK | 10 |
| 8 | 2ms | 303kb | OK | 10 |
| 9 | 5ms | 303kb | OK | 10 |
| 10 | 7ms | 303kb | OK | 10 |
| Punctaj total | 100 |