Pagini recente » Borderou de evaluare (job #1340084) | Autentificare | Cod sursa (job #351555) | Borderou de evaluare (job #905143) | Borderou de evaluare (job #3299820)
Borderou de evaluare (job #3299820)
Raport evaluator
Compilare:
main.cpp: In member function 'huge huge::operator+(const huge&) const':
main.cpp:158:27: warning: comparison of integer expressions of different signedness: 'int' and 'const long unsigned int' [-Wsign-compare]
158 | for (i = 0; i < std::min(digits.size(), b.digits.size()); ++i)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:164:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
164 | for (; i < digits.size(); ++i)
| ~~^~~~~~~~~~~~~~~
main.cpp:170:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
170 | for (; i < b.digits.size(); ++i)
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In member function 'huge huge::operator-(const huge&) const':
main.cpp:199:27: warning: comparison of integer expressions of different signedness: 'int' and 'const long unsigned int' [-Wsign-compare]
199 | for (i = 0; i < std::min(digits.size(), b.digits.size()); ++i)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:212:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
212 | for (; i < digits.size(); ++i)
| ~~^~~~~~~~~~~~~~~
main.cpp: In member function 'huge huge::operator*(const huge&) const':
main.cpp:242:23: 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 (i = 0; i < digits.size(); ++i)
| ~~^~~~~~~~~~~~~~~
main.cpp:245:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
245 | for (j = 0; j < b.digits.size(); ++j)
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In function 'bool operator<(const huge&, const huge&)':
main.cpp:109:5: warning: control reaches end of non-void function [-Wreturn-type]
109 | }
| ^
main.cpp: In member function 'huge huge::operator-(const huge&) const':
main.cpp:229:5: warning: control reaches end of non-void function [-Wreturn-type]
229 | }
| ^
main.cpp: In member function 'huge huge::operator+(const huge&) const':
main.cpp:180:5: warning: control reaches end of non-void function [-Wreturn-type]
180 | }
| ^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | OK | 10 |
| 2 | 0ms | 303kb | OK | 10 |
| 3 | 0ms | 303kb | OK | 10 |
| 4 | 1ms | 303kb | OK | 10 |
| 5 | 1ms | 303kb | OK | 10 |
| 6 | 2ms | 303kb | OK | 10 |
| 7 | 253ms | 405kb | Time limit exceeded | 0 |
| 8 | 253ms | 413kb | Time limit exceeded | 0 |
| 9 | 253ms | 405kb | Time limit exceeded | 0 |
| 10 | 253ms | 409kb | Time limit exceeded | 0 |
| Punctaj total | 60 |