Pagini recente » Borderou de evaluare (job #1195330) | Borderou de evaluare (job #3199935) | Borderou de evaluare (job #837165) | Borderou de evaluare (job #2941086) | Borderou de evaluare (job #3144941)
Borderou de evaluare (job #3144941)
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 | OK | 5 |
2 | 0ms | 303kb | OK | 5 |
3 | 1ms | 303kb | OK | 5 |
4 | 3ms | 303kb | OK | 5 |
5 | 9ms | 557kb | OK | 5 |
6 | 19ms | 557kb | OK | 5 |
7 | 14ms | 303kb | OK | 5 |
8 | 29ms | 532kb | OK | 5 |
9 | 59ms | 598kb | OK | 5 |
10 | 74ms | 598kb | OK | 5 |
11 | 104ms | 618kb | OK | 5 |
12 | 4ms | 303kb | OK | 5 |
13 | 109ms | 614kb | OK | 5 |
14 | 173ms | 630kb | OK | 5 |
15 | 323ms | 700kb | OK | 5 |
16 | 318ms | 1114kb | OK | 5 |
17 | 402ms | 1163kb | Time limit exceeded | 0 |
18 | 19ms | 479kb | OK | 5 |
19 | 382ms | 1220kb | OK | 5 |
20 | 402ms | 1138kb | Time limit exceeded | 0 |
Punctaj total | 90 |