Pagini recente » Borderou de evaluare (job #2546412) | Borderou de evaluare (job #814805) | Borderou de evaluare (job #1187452) | Borderou de evaluare (job #2307668) | Borderou de evaluare (job #2648564)
Borderou de evaluare (job #2648564)
Raport evaluator
Compilare:
main.cpp: In member function 'bool LongInt::operator==(LongInt)':
main.cpp:86:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i <= nr.size(); i++)
~~^~~~~~~~~~~~
main.cpp: In member function 'bool LongInt::operator>(LongInt)':
main.cpp:114:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < nr.size(); i++)
~~^~~~~~~~~~~
main.cpp:129:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < nr.size(); i++)
~~^~~~~~~~~~~
main.cpp: In member function 'LongInt LongInt::operator-(LongInt)':
main.cpp:240:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(thisOne.nr[toDel] == 0 && toDel <= thisOne.nr.size() - 2)
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'LongInt LongInt::operator*(LongInt)':
main.cpp:291:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < thisOne.nr.size(); i++)
~~^~~~~~~~~~~~~~~~~~~
main.cpp:294:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < other.nr.size(); j++)
~~^~~~~~~~~~~~~~~~~
main.cpp:296:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
int num = (newNr.size() > i+j ? newNr[i+j] : 0) +
~~~~~~~~~~~~~^~~~~
main.cpp:299:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(newNr.size() > i+j)
~~~~~~~~~~~~~^~~~~
main.cpp: In static member function 'static LongInt LongInt::divideBy2(LongInt)':
main.cpp:327:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < num.nr.size(); i++)
~~^~~~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Okay! | 5 |
| 2 | 2ms | 131kb | Okay! | 5 |
| 3 | 2ms | 131kb | Okay! | 5 |
| 4 | 2ms | 131kb | Okay! | 5 |
| 5 | 2ms | 131kb | Okay! | 5 |
| 6 | 2ms | 131kb | Okay! | 5 |
| 7 | 2ms | 131kb | Okay! | 5 |
| 8 | 2ms | 131kb | Okay! | 5 |
| 9 | 2ms | 131kb | Okay! | 5 |
| 10 | 2ms | 131kb | Okay! | 5 |
| 11 | 2ms | 131kb | Okay! | 5 |
| 12 | 2ms | 131kb | Okay! | 5 |
| 13 | 2ms | 131kb | Okay! | 5 |
| 14 | 2ms | 131kb | Okay! | 5 |
| 15 | 2ms | 131kb | Okay! | 5 |
| 16 | 2ms | 131kb | Okay! | 5 |
| 17 | 4ms | 131kb | Okay! | 5 |
| 18 | 2ms | 131kb | Okay! | 5 |
| 19 | 2ms | 131kb | Okay! | 5 |
| 20 | 2ms | 131kb | Okay! | 5 |
| Punctaj total | 100 |