Borderou de evaluare (job #2955312)

Utilizator YosifIosif Andrei Stefan Yosif Data 16 decembrie 2022 18:42:27
Problema Lazy Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'bool operator==(const num&, const num&)': main.cpp:140:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 140 | while (i < a.val.length()) | ~~^~~~~~~~~~~~~~~~ main.cpp: In member function 'num num::operator+(const num&) const': main.cpp:182:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 182 | while (i < n.val.length()) | ~~^~~~~~~~~~~~~~~~ main.cpp:190:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 190 | while (i < val.length()) | ~~^~~~~~~~~~~~~~ main.cpp: In member function 'num num::operator-(const num&) const': main.cpp:224:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 224 | while (i < aux.val.length() && i < n.val.length()) | ~~^~~~~~~~~~~~~~~~~~ main.cpp:224:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 224 | while (i < aux.val.length() && i < n.val.length()) | ~~^~~~~~~~~~~~~~~~ main.cpp:241:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 241 | if (j + 1 == aux.val.length() && aux.val[j] == '0') | ~~~~~~^~~~~~~~~~~~~~~~~~~ main.cpp:247:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 247 | while (i < aux.val.length()) | ~~^~~~~~~~~~~~~~~~~~ main.cpp: In member function 'num num::operator*(const num&) const': main.cpp:264:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 264 | for (int i = 0; i < val.length(); i++) | ~~^~~~~~~~~~~~~~ main.cpp:265:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 265 | for (int j = 0; j < n.val.length(); j++) | ~~^~~~~~~~~~~~~~~~ main.cpp:270:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 270 | for (int i = 0; i < a.size(); i++) | ~~^~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
115ms18374kbKilled by Signal 90
212ms18206kbKilled by Signal 90
314ms18665kbKilled by Signal 90
414ms18665kbKilled by Signal 90
513ms18313kbKilled by Signal 90
615ms18395kbKilled by Signal 90
719ms20496kbMemory limit exceeded0
812ms18579kbKilled by Signal 90
914ms18542kbKilled by Signal 90
1015ms18284kbKilled by Signal 90
Punctaj total0

Ceva nu functioneaza?