Borderou de evaluare (job #403184)

Utilizator avatar mircearoata Mircea Roata Palade mircearoata IP ascuns
Problemă ANAF (clasa a 6-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 18 nov. 2018 14:29:28 Scor 0

Raport evaluator

Eroare de compilare: user.cpp:441:18: sorry, unimplemented: non-static data member initializers user.cpp:441:18: error: ISO C++ forbids in-class initialization of non-const static member 'sign_' user.cpp: In copy constructor 'BigInt::BigInt(const BigInt&)': user.cpp:67:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] user.cpp: In member function 'BigInt& BigInt::operator+=(BigInt)': user.cpp:134:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] user.cpp:145:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] user.cpp: In member function 'BigInt& BigInt::operator*=(BigInt)': user.cpp:224:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] user.cpp:226:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] user.cpp:228:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] user.cpp:238:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] user.cpp:240:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] user.cpp: In member function 'bool BigInt::operator==(BigInt)': user.cpp:330:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] user.cpp: In member function 'BigInt& BigInt::pow(BigInt, BigInt)': user.cpp:408:16: warning: reference to local variable 'ret' returned [enabled by default] user.cpp: In member function 'bool BigInt::operator>=(BigInt)': user.cpp:430:39: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]