Borderou de evaluare (job #3150499)

Utilizator mihai.alphamihai craciun mihai.alpha Data 16 septembrie 2023 21:29:39
Problema Pm Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In member function 'myclass::bigInt myclass::bigInt::operator+(const myclass::bigInt&) const': main.cpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 33 | while(index < oth.digits.size() && index < digits.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~ main.cpp:33:54: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 33 | while(index < oth.digits.size() && index < digits.size()) { | ~~~~~~^~~~~~~~~~~~~~~ main.cpp:38:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 38 | while(index < oth.digits.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~ main.cpp:43:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 43 | while(index < digits.size()) { | ~~~~~~^~~~~~~~~~~~~~~ main.cpp: In member function 'void myclass::bigInt::operator+=(const myclass::bigInt&)': main.cpp:57:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 57 | while(index < oth.digits.size() && index < digits.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~ main.cpp:57:54: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 57 | while(index < oth.digits.size() && index < digits.size()) { | ~~~~~~^~~~~~~~~~~~~~~ main.cpp:63:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 63 | while(index < oth.digits.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~ main.cpp:70:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 70 | while(index < digits.size()) { | ~~~~~~^~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
20ms303kbOK10
30ms303kbOK10
40ms303kbOK10
50ms303kbOK10
60ms303kbOK10
71ms303kbOK10
82ms303kbOK10
95ms303kbOK10
107ms303kbOK10
Punctaj total100

Ceva nu functioneaza?