Borderou de evaluare (job #2943000)

Utilizator toma_ariciuAriciu Toma toma_ariciu Data 20 noiembrie 2022 14:14:50
Problema Numere 2 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:155:27: warning: comparison of integer expressions of different signedness: 'int' and 'const long unsigned int' [-Wsign-compare] 155 | for (i = 0; i < std::min(digits.size(), b.digits.size()); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:161:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 161 | for (; i < digits.size(); ++i) | ~~^~~~~~~~~~~~~~~ main.cpp:167:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 167 | for (; i < b.digits.size(); ++i) | ~~^~~~~~~~~~~~~~~~~ main.cpp: In member function 'huge huge::operator-(const huge&) const': main.cpp:196:27: warning: comparison of integer expressions of different signedness: 'int' and 'const long unsigned int' [-Wsign-compare] 196 | for (i = 0; i < std::min(digits.size(), b.digits.size()); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:209:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 209 | for (; i < digits.size(); ++i) | ~~^~~~~~~~~~~~~~~ main.cpp: In member function 'huge huge::operator*(const huge&) const': main.cpp:239:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 239 | for (i = 0; i < digits.size(); ++i) | ~~^~~~~~~~~~~~~~~ main.cpp:242:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 242 | for (j = 0; j < b.digits.size(); ++j) | ~~^~~~~~~~~~~~~~~~~ main.cpp: In function 'huge lgput(huge, int)': main.cpp:347:1: warning: control reaches end of non-void function [-Wreturn-type] 347 | } | ^ main.cpp: In function 'bool operator<(const huge&, const huge&)': main.cpp:106:5: warning: control reaches end of non-void function [-Wreturn-type] 106 | } | ^ main.cpp: In member function 'huge huge::operator+(const huge&) const': main.cpp:177:5: warning: control reaches end of non-void function [-Wreturn-type] 177 | } | ^ main.cpp: In member function 'huge huge::operator-(const huge&) const': main.cpp:226:5: warning: control reaches end of non-void function [-Wreturn-type] 226 | } | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
133ms184kbOK5
22ms184kbOK5
342ms262kbOK5
419ms184kbOK5
517ms184kbOK5
638ms262kbOK5
725ms262kbOK5
84ms184kbOK5
91ms184kbOK5
108ms184kbOK5
113ms184kbOK5
125ms184kbOK5
133ms184kbOK5
142ms184kbOK5
154ms184kbOK5
163ms184kbOK5
175ms184kbOK5
182ms184kbOK5
193ms184kbOK5
205ms184kbOK5
Punctaj total100

Ceva nu functioneaza?