Borderou de evaluare (job #3144939)
Raport evaluator
Compilare:
main.cpp: In member function 'void BigInt::normalize()':
main.cpp:13: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]
13 | for(int i = 0; i < v.size(); i ++) {
| ~~^~~~~~~~~~
main.cpp:19: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]
19 | if(i == v.size() - 1)
| ~~^~~~~~~~~~~~~~~
main.cpp: In function 'std::ofstream& operator<<(std::ofstream&, const BigInt&)':
main.cpp:56: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]
56 | if(i != value.v.size() - 1){
| ~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'BigInt BigInt::operator+(const BigInt&)':
main.cpp:71:26: warning: comparison of integer expressions of different signedness: 'long long int' and 'const long unsigned int' [-Wsign-compare]
71 | for(int i = 0; i < std::max(v.size(), other.v.size()); i ++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:73: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]
73 | if(i < v.size())
| ~~^~~~~~~~~~
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 < other.v.size())
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'BigInt BigInt::operator+(const long long int&)':
main.cpp:86: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]
86 | for(int i = 0; i < v.size(); i ++)
| ~~^~~~~~~~~~
main.cpp: In member function 'BigInt BigInt::operator-(const BigInt&)':
main.cpp:95:26: warning: comparison of integer expressions of different signedness: 'long long int' and 'const long unsigned int' [-Wsign-compare]
95 | for(int i = 0; i < std::max(v.size(), other.v.size()); i ++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:97: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]
97 | if(i < v.size())
| ~~^~~~~~~~~~
main.cpp:99: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]
99 | if(i < other.v.size())
| ~~^~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Incorect | 0 |
2 | 0ms | 303kb | Incorect | 0 |
3 | 1ms | 303kb | Incorect | 0 |
4 | 4ms | 303kb | Incorect | 0 |
5 | 16ms | 598kb | Incorect | 0 |
6 | 29ms | 573kb | Incorect | 0 |
7 | 24ms | 593kb | Incorect | 0 |
8 | 39ms | 602kb | Incorect | 0 |
9 | 79ms | 602kb | Incorect | 0 |
10 | 104ms | 598kb | Incorect | 0 |
11 | 148ms | 917kb | Incorect | 0 |
12 | 5ms | 303kb | Incorect | 0 |
13 | 159ms | 618kb | Incorect | 0 |
14 | 258ms | 634kb | Incorect | 0 |
15 | 402ms | 1236kb | Time limit exceeded | 0 |
16 | 402ms | 1122kb | Time limit exceeded | 0 |
17 | 402ms | 1081kb | Time limit exceeded | 0 |
18 | 39ms | 503kb | Incorect | 0 |
19 | 402ms | 1122kb | Time limit exceeded | 0 |
20 | 401ms | 1200kb | Time limit exceeded | 0 |
Punctaj total | 0 |