Borderou de evaluare (job #2943008)

Utilizator toma_ariciuAriciu Toma toma_ariciu Data 20 noiembrie 2022 14:20:18
Problema Free Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In member function 'huge huge::operator+(const huge&) const': main.cpp:153:27: warning: comparison of integer expressions of different signedness: 'int' and 'const long unsigned int' [-Wsign-compare] 153 | for (i = 0; i < std::min(digits.size(), b.digits.size()); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:159:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 159 | for (; i < digits.size(); ++i) | ~~^~~~~~~~~~~~~~~ main.cpp:165:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 165 | for (; i < b.digits.size(); ++i) | ~~^~~~~~~~~~~~~~~~~ main.cpp: In member function 'huge huge::operator-(const huge&) const': main.cpp:194:27: warning: comparison of integer expressions of different signedness: 'int' and 'const long unsigned int' [-Wsign-compare] 194 | for (i = 0; i < std::min(digits.size(), b.digits.size()); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:207:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 207 | for (; i < digits.size(); ++i) | ~~^~~~~~~~~~~~~~~ main.cpp: In member function 'huge huge::operator*(const huge&) const': main.cpp:237:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 237 | for (i = 0; i < digits.size(); ++i) | ~~^~~~~~~~~~~~~~~ main.cpp:240:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 240 | for (j = 0; j < b.digits.size(); ++j) | ~~^~~~~~~~~~~~~~~~~ main.cpp: In function 'bool operator<(const huge&, const huge&)': main.cpp:104:5: warning: control reaches end of non-void function [-Wreturn-type] 104 | } | ^ main.cpp: In member function 'huge huge::operator+(const huge&) const': main.cpp:175:5: warning: control reaches end of non-void function [-Wreturn-type] 175 | } | ^ main.cpp: In member function 'huge huge::operator-(const huge&) const': main.cpp:224:5: warning: control reaches end of non-void function [-Wreturn-type] 224 | } | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbOK10
20ms184kbOK10
31ms184kbOK10
40ms184kbOK10
50ms184kbOK10
60ms184kbOK10
73ms184kbOK10
85ms184kbOK10
910ms184kbOK10
1015ms266kbOK10
Punctaj total100

Ceva nu functioneaza?