Pagini recente » Borderou de evaluare (job #3261195) | Borderou de evaluare (job #2731433) | Borderou de evaluare (job #2556468) | Borderou de evaluare (job #2406747) | Borderou de evaluare (job #2962789)
Borderou de evaluare (job #2962789)
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++)
| ~~^~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:447:33: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
447 | if (d[i - 1][k] != -1)
| ~~~~~~~~~~~~^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 184kb | OK | 10 |
2 | 0ms | 184kb | Incorect | 0 |
3 | 0ms | 184kb | OK | 10 |
4 | 0ms | 184kb | Incorect | 0 |
5 | 0ms | 184kb | OK | 10 |
6 | 0ms | 184kb | OK | 10 |
7 | 0ms | 184kb | OK | 10 |
8 | 0ms | 184kb | OK | 10 |
9 | 8ms | 458kb | OK | 10 |
10 | 5ms | 315kb | OK | 10 |
Punctaj total | 80 |