Borderou de evaluare (job #3132143)

Utilizator user12345user user user user12345 Data 21 mai 2023 23:34:43
Problema Sir4 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 70

Raport evaluator

Compilare: main.cpp: In function 'bool operator==(const num&, const num&)': main.cpp:126:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 126 | while (i < a.val.length()) { | ~~^~~~~~~~~~~~~~~~ main.cpp: In member function 'num num::operator+(const num&) const': main.cpp:164:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 164 | while (i < n.val.length()) { | ~~^~~~~~~~~~~~~~~~ main.cpp:171:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 171 | while (i < val.length()) { | ~~^~~~~~~~~~~~~~ main.cpp: In member function 'num num::operator-(const num&) const': main.cpp:203:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 203 | while (i < aux.val.length() && i < n.val.length()) { | ~~^~~~~~~~~~~~~~~~~~ main.cpp:203:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 203 | while (i < aux.val.length() && i < n.val.length()) { | ~~^~~~~~~~~~~~~~~~ main.cpp:218:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 218 | if (j + 1 == aux.val.length() && aux.val[j] == '0') | ~~~~~~^~~~~~~~~~~~~~~~~~~ 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()) | ~~^~~~~~~~~~~~~~~~~~ main.cpp: In member function 'num num::operator*(const num&) const': 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 (int i = 0; i < val.length(); i++) | ~~^~~~~~~~~~~~~~ main.cpp:241:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 241 | for (int j = 0; j < n.val.length(); j++) | ~~^~~~~~~~~~~~~~~~ main.cpp:246:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 246 | for (int i = 0; i < a.size(); i++) { | ~~^~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
20ms303kbOK10
30ms303kbOK10
40ms303kbOK10
50ms303kbOK10
63ms303kbOK10
74ms303kbOK10
8303ms303kbTime limit exceeded0
9303ms303kbTime limit exceeded0
10303ms303kbTime limit exceeded0
Punctaj total70

Ceva nu functioneaza?