Borderou de evaluare (job #3132167)

Utilizator user12345user user user user12345 Data 21 mai 2023 23:40:20
Problema Sir4 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:123:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 123 | while (i < a.val.length()) { | ~~^~~~~~~~~~~~~~~~ main.cpp: In member function 'num num::operator+(const num&) const': main.cpp:161:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 161 | while (i < n.val.length()) { | ~~^~~~~~~~~~~~~~~~ main.cpp:168:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 168 | while (i < val.length()) { | ~~^~~~~~~~~~~~~~ main.cpp: In member function 'num num::operator-(const num&) const': main.cpp:200:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 200 | while (i < aux.val.length() && i < n.val.length()) { | ~~^~~~~~~~~~~~~~~~~~ main.cpp:200:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 200 | while (i < aux.val.length() && i < n.val.length()) { | ~~^~~~~~~~~~~~~~~~ main.cpp:215:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 215 | if (j + 1 == aux.val.length() && aux.val[j] == '0') | ~~~~~~^~~~~~~~~~~~~~~~~~~ main.cpp:221:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 221 | while (i < aux.val.length()) | ~~^~~~~~~~~~~~~~~~~~ main.cpp: In member function 'num num::operator*(const num&) const': main.cpp:237:27: 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 (int i = 0; i < val.length(); i++) | ~~^~~~~~~~~~~~~~ main.cpp:238:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 238 | for (int j = 0; j < n.val.length(); j++) | ~~^~~~~~~~~~~~~~~~ main.cpp:243:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 243 | for (int i = 0; i < a.size(); i++) { | ~~^~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect0
20ms303kbIncorect0
30ms303kbIncorect0
40ms303kbIncorect0
50ms303kbIncorect0
63ms303kbIncorect0
76ms303kbIncorect0
8303ms303kbTime limit exceeded0
9303ms303kbTime limit exceeded0
10303ms303kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?