Pagini recente » Borderou de evaluare (job #585649) | Borderou de evaluare (job #2737509) | Borderou de evaluare (job #2200441) | Borderou de evaluare (job #3269686) | Borderou de evaluare (job #3144949)
Borderou de evaluare (job #3144949)
Raport evaluator
Compilare:
main.cpp: In member function 'void BigInt::normalize()':
main.cpp:14:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
14 | for(int i = 0; i < v.size(); i ++) {
| ~~^~~~~~~~~~
main.cpp:20:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | if(i == v.size() - 1)
| ~~^~~~~~~~~~~~~~~
main.cpp: In function 'std::ofstream& operator<<(std::ofstream&, const BigInt&)':
main.cpp:42:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
42 | if(i != value.v.size() - 1){
| ~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'BigInt BigInt::operator+(const BigInt&)':
main.cpp:57:26: warning: comparison of integer expressions of different signedness: 'int' and 'const long unsigned int' [-Wsign-compare]
57 | for(int i = 0; i < std::max(v.size(), other.v.size()); i ++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:59:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
59 | if(i < v.size())
| ~~^~~~~~~~~~
main.cpp:61:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
61 | if(i < other.v.size())
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'BigInt BigInt::operator-(const BigInt&)':
main.cpp:72:26: warning: comparison of integer expressions of different signedness: 'int' and 'const long unsigned int' [-Wsign-compare]
72 | for(int i = 0; i < std::max(v.size(), other.v.size()); i ++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:74:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
74 | if(i < v.size())
| ~~^~~~~~~~~~
main.cpp:76:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
76 | 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 | 466kb | OK | 5 |
7 | 14ms | 303kb | OK | 5 |
8 | 24ms | 462kb | OK | 5 |
9 | 49ms | 557kb | OK | 5 |
10 | 59ms | 495kb | OK | 5 |
11 | 89ms | 471kb | OK | 5 |
12 | 3ms | 303kb | OK | 5 |
13 | 89ms | 507kb | OK | 5 |
14 | 144ms | 528kb | OK | 5 |
15 | 278ms | 577kb | OK | 5 |
16 | 273ms | 565kb | OK | 5 |
17 | 377ms | 655kb | OK | 5 |
18 | 19ms | 446kb | OK | 5 |
19 | 317ms | 561kb | OK | 5 |
20 | 402ms | 577kb | Time limit exceeded | 0 |
Punctaj total | 95 |