Borderou de evaluare (job #3152794)

Utilizator db_123Balaban David db_123 Data 26 septembrie 2023 20:09:26
Problema Indep Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In member function 'void BigInt::normalize()': main.cpp:17:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 17 | for(int i = 0; i < v.size(); i ++) { | ~~^~~~~~~~~~ main.cpp:23:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 23 | if(i == v.size() - 1) | ~~^~~~~~~~~~~~~~~ main.cpp: In function 'std::ofstream& operator<<(std::ofstream&, const BigInt&)': main.cpp:60:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 60 | if(i != value.v.size() - 1){ | ~~^~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'BigInt BigInt::operator+(const BigInt&)': main.cpp:75:26: warning: comparison of integer expressions of different signedness: 'int' and 'const long unsigned int' [-Wsign-compare] 75 | for(int i = 0; i < std::max(v.size(), other.v.size()); i ++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:77:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 77 | if(i < v.size()) | ~~^~~~~~~~~~ main.cpp:79:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 79 | if(i < other.v.size()) | ~~^~~~~~~~~~~~~~~~ main.cpp: In member function 'BigInt BigInt::operator+(const int&)': main.cpp:90:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 90 | for(int i = 0; i < v.size(); i ++) | ~~^~~~~~~~~~ main.cpp: In member function 'BigInt BigInt::operator-(const BigInt&)': main.cpp:99:26: warning: comparison of integer expressions of different signedness: 'int' and 'const long unsigned int' [-Wsign-compare] 99 | for(int i = 0; i < std::max(v.size(), other.v.size()); i ++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:101:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 101 | if(i < v.size()) | ~~^~~~~~~~~~ main.cpp:103:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 103 | if(i < other.v.size()) | ~~^~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
110ms409kbKilled by Signal 110
29ms413kbKilled by Signal 110
35ms409kbKilled by Signal 110
44ms409kbKilled by Signal 110
55ms405kbKilled by Signal 110
69ms409kbKilled by Signal 110
74ms405kbKilled by Signal 110
86ms409kbKilled by Signal 110
96ms409kbKilled by Signal 110
104ms409kbKilled by Signal 110
110ms413kbKilled by Signal 110
121ms409kbKilled by Signal 110
131ms413kbKilled by Signal 110
141ms405kbKilled by Signal 110
151ms413kbKilled by Signal 110
161ms405kbKilled by Signal 110
171ms409kbKilled by Signal 110
181ms417kbKilled by Signal 110
191ms409kbKilled by Signal 110
201ms413kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?