Borderou de evaluare (job #2211770)
Utilizator | Data | 11 iunie 2018 19:37:30 | |
---|---|---|---|
Problema | Tort | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In constructor ‘InfInt::InfInt(int)’:
user.cpp:265:12: error: ‘INT_MIN’ was not declared in this scope
if (l == INT_MIN) {
^~~~~~~
user.cpp: In constructor ‘InfInt::InfInt(long int)’:
user.cpp:287:12: error: ‘LONG_MIN’ was not declared in this scope
if (l == LONG_MIN) {
^~~~~~~~
user.cpp: In constructor ‘InfInt::InfInt(long long int)’:
user.cpp:309:12: error: ‘LONG_LONG_MIN’ was not declared in this scope
if (l == LONG_LONG_MIN) {
^~~~~~~~~~~~~
user.cpp: In copy constructor ‘InfInt::InfInt(const InfInt&)’:
user.cpp:244:10: warning: ‘InfInt::pos’ will be initialized after [-Wreorder]
bool pos; // true if number is positive
^~~
user.cpp:243:28: warning: ‘std::vector<int> InfInt::val’ [-Wreorder]
std::vector<ELEM_TYPE> val; // number with base FACTOR
^~~
user.cpp:352:8: warning: when initialized here [-Wreorder]
inline InfInt::InfInt(const InfInt &l) : pos(l.pos), val(l.val) {
^~~~~~
user.cpp: In member function ‘const InfInt& InfInt::operator=(int)’:
user.cpp:371:12: error: ‘INT_MIN’ was not declared in this scope
if (l == INT_MIN) {
^~~~~~~
user.cpp: In member function ‘const InfInt& InfInt::operator=(long int)’:
user.cpp:393:12: error: ‘LONG_MIN’ was not declared in this scope
if (l == LONG_MIN) {
^~~~~~~~
user.cpp: In member function ‘const InfInt& InfInt::operator=(long long int)’:
user.cpp:415:12: error: ‘LONG_LONG_MIN’ was not declared in this scope
if (l == LONG_LONG_MIN) {
^~~~~~~~~~~~~
user.cpp: In member function ‘int InfInt::toInt() const’:
user.cpp:928:15: error: ‘INT_MAX’ was not declared in this scope
if (*this > INT_MAX || *this < INT_MIN) {
^~~~~~~
user.cpp:928:34: error: ‘INT_MIN’ was not declared in this scope
if (*this > INT_MAX || *this < INT_MIN) {
^~~~~~~
user.cpp: In member function ‘long int InfInt::toLong() const’:
user.cpp:944:15: error: ‘LONG_MAX’ was not declared in this scope
if (*this > LONG_MAX || *this < LONG_MIN) {
^~~~~~~~
user.cpp:944:35: error: ‘LONG_MIN’ was not declared in this scope
if (*this > LONG_MAX || *this < LONG_MIN) {
^~~~~~~~
user.cpp: In member function ‘long long int InfInt::toLongLong() const’:
user.cpp:960:15: error: ‘LONG_LONG_MAX’ was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !