Borderou de evaluare (job #206519)
Utilizator | Data | 7 septembrie 2008 14:53:27 | |
---|---|---|---|
Problema | Fractii | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare in evaluator:
In file included from /usr/include/c++/4.2/backward/fstream.h:31,
from user.cpp:3:
/usr/include/c++/4.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
user.cpp:8: error: 'long int div [50]' redeclared as different kind of symbol
/usr/include/stdlib.h:706: error: previous declaration of 'div_t div(int, int)'
user.cpp: In function 'void diviz(long int)':
user.cpp:33: error: pointer to a function used in arithmetic
user.cpp:33: error: increment of read-only location
user.cpp:33: error: ISO C++ forbids incrementing a pointer of type 'div_t (*)(int, int)throw ()'
user.cpp:33: error: lvalue required as increment operand
user.cpp:38: error: pointer to a function used in arithmetic
user.cpp:39: error: pointer to a function used in arithmetic
user.cpp:39: error: increment of read-only location
user.cpp:39: error: ISO C++ forbids incrementing a pointer of type 'div_t (*)(int, int)throw ()'
user.cpp:39: error: lvalue required as increment operand
user.cpp: In function 'int main()':
user.cpp:55: error: pointer to a function used in arithmetic
user.cpp:55: error: ISO C++ forbids comparison between pointer and integer
user.cpp:56: error: pointer to a function used in arithmetic
user.cpp:56: error: assignment of read-only location
user.cpp:56: error: cannot convert 'int' to 'div_t ()(int, int)' in assignment
user.cpp:57: error: pointer to a function used in arithmetic
user.cpp:57: error: assignment of function 'div_t div(int, int)'
user.cpp:57: error: cannot convert 'int' to 'div_t ()(int, int)throw ()' in assignment
user.cpp:59: error: pointer to a function used in arithmetic
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !