Pagini recente » Borderou de evaluare (job #964966) | Borderou de evaluare (job #2465048) | Borderou de evaluare (job #2658741) | Borderou de evaluare (job #1912426) | Borderou de evaluare (job #3144946)
Borderou de evaluare (job #3144946)
Raport evaluator
Compilare:
main.cpp: In member function 'void BigInt::normalize()':
main.cpp:15:26: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
15 | for(int i = 0; i < v.size(); i ++) {
| ~~^~~~~~~~~~
main.cpp:21:22: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | if(i == v.size() - 1)
| ~~^~~~~~~~~~~~~~~
main.cpp: In function 'std::ofstream& operator<<(std::ofstream&, const BigInt&)':
main.cpp:43:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | if(i != value.v.size() - 1){
| ~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'BigInt BigInt::operator+(const BigInt&)':
main.cpp:58:26: warning: comparison of integer expressions of different signedness: 'long long int' and 'const long unsigned int' [-Wsign-compare]
58 | for(int i = 0; i < std::max(v.size(), other.v.size()); i ++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:60:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
60 | if(i < v.size())
| ~~^~~~~~~~~~
main.cpp:62:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
62 | if(i < other.v.size())
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'BigInt BigInt::operator-(const BigInt&)':
main.cpp:73:26: warning: comparison of integer expressions of different signedness: 'long long int' and 'const long unsigned int' [-Wsign-compare]
73 | for(int i = 0; i < std::max(v.size(), other.v.size()); i ++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:75:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
75 | if(i < v.size())
| ~~^~~~~~~~~~
main.cpp:77:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
77 | if(i < other.v.size())
| ~~^~~~~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | OK | 5 |
| 2 | 0ms | 303kb | OK | 5 |
| 3 | 1ms | 303kb | OK | 5 |
| 4 | 3ms | 303kb | OK | 5 |
| 5 | 9ms | 303kb | OK | 5 |
| 6 | 19ms | 495kb | OK | 5 |
| 7 | 14ms | 466kb | OK | 5 |
| 8 | 24ms | 466kb | OK | 5 |
| 9 | 49ms | 593kb | OK | 5 |
| 10 | 64ms | 610kb | OK | 5 |
| 11 | 89ms | 540kb | OK | 5 |
| 12 | 3ms | 303kb | OK | 5 |
| 13 | 94ms | 552kb | OK | 5 |
| 14 | 154ms | 565kb | OK | 5 |
| 15 | 288ms | 774kb | OK | 5 |
| 16 | 283ms | 700kb | OK | 5 |
| 17 | 397ms | 684kb | OK | 5 |
| 18 | 19ms | 466kb | OK | 5 |
| 19 | 342ms | 704kb | OK | 5 |
| 20 | 402ms | 991kb | Time limit exceeded | 0 |
| Punctaj total | 95 |