Borderou de evaluare (job #2861134)

Utilizator CraniXortDumitrescul Eduard CraniXort Data 3 martie 2022 16:26:35
Problema Dragon Ball Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 70

Raport evaluator

Compilare: main.cpp: In member function 'void BigInt::normalize()': main.cpp:13:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<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: 'int' and 'std::vector<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: 'int' and 'std::vector<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: '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: 'int' and 'std::vector<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: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 75 | if(i < other.v.size()) | ~~^~~~~~~~~~~~~~~~ main.cpp: In member function 'BigInt BigInt::operator+(const int&)': main.cpp:86:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<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: '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: 'int' and 'std::vector<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: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 99 | if(i < other.v.size()) | ~~^~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:170:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<BigInt>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 170 | for(int i = 1; i < v.size(); i ++) { | ~~^~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms188kbOK10
22ms184kbOK10
32ms184kbOK10
46ms540kbOK10
52ms184kbOK10
6256ms21667kbOK10
7255ms17514kbOK10
8300ms20496kbTime limit exceeded0
9304ms24154kbTime limit exceeded0
10304ms24125kbTime limit exceeded0
Punctaj total70

Ceva nu functioneaza?