Borderou de evaluare (job #2955302)

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

Raport evaluator

Compilare: main.cpp: In function 'bool operator==(const num&, const num&)': main.cpp:142:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 142 | while (i < a.val.length()) | ~~^~~~~~~~~~~~~~~~ main.cpp: In member function 'num num::operator+(const num&) const': main.cpp:184:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 184 | while (i < n.val.length()) | ~~^~~~~~~~~~~~~~~~ main.cpp:192:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 192 | while (i < val.length()) | ~~^~~~~~~~~~~~~~ main.cpp: In member function 'num num::operator-(const num&) const': main.cpp:226:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 226 | while (i < aux.val.length() && i < n.val.length()) | ~~^~~~~~~~~~~~~~~~~~ main.cpp:226:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 226 | while (i < aux.val.length() && i < n.val.length()) | ~~^~~~~~~~~~~~~~~~ main.cpp:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 243 | if (j + 1 == aux.val.length() && aux.val[j] == '0') | ~~~~~~^~~~~~~~~~~~~~~~~~~ main.cpp:249:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 249 | 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
117ms20303kbCorrect!10
235ms20275kbIncorrect!0
338ms20307kbIncorrect!0
4113ms20307kbIncorrect!0
5184ms20439kbIncorrect!0
619ms20496kbMemory limit exceeded0
712ms18833kbKilled by Signal 90
819ms20496kbMemory limit exceeded0
919ms20496kbMemory limit exceeded0
1014ms18927kbKilled by Signal 90
Punctaj total10

Ceva nu functioneaza?