Pagini recente » Borderou de evaluare (job #2380537) | Borderou de evaluare (job #2548875) | Borderou de evaluare (job #592776) | Borderou de evaluare (job #316567) | Borderou de evaluare (job #1613832)
Borderou de evaluare (job #1613832)
Raport evaluator
Compilare:
user.cpp: In member function ‘BigNumber BigNumber::operator+(const BigNumber&)’:
user.cpp:37:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
int addResult = (i < _container.size() ? _container[i] : 0) + (i < other._container.size() ? other._container[i] : 0);
^
user.cpp:37:93: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
int addResult = (i < _container.size() ? _container[i] : 0) + (i < other._container.size() ? other._container[i] : 0);
^
user.cpp: In member function ‘BigNumber BigNumber::operator-(const BigNumber&)’:
user.cpp:57:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < _container.size(); i++)
^
user.cpp:59:73: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
int subResult = (_container[i] - carry) - (i < other._container.size() ? other._container[i] : 0);
^
user.cpp: In member function ‘int BigNumber::to_int()’:
user.cpp:127:7: warning: unused variable ‘p’ [-Wunused-variable]
int p = 0;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 644kb | OK | 10 |
2 | 0ms | 644kb | OK | 10 |
3 | 4ms | 648kb | OK | 10 |
4 | 4ms | 652kb | OK | 10 |
5 | 4ms | 648kb | OK | 10 |
6 | 8ms | 688kb | OK | 10 |
7 | 8ms | 660kb | OK | 10 |
8 | 40ms | 724kb | OK | 10 |
9 | 24ms | 688kb | OK | 10 |
10 | 0ms | 644kb | OK | 10 |
Punctaj total | 100 |