Borderou de evaluare (job #32019)
Utilizator | Data | 17 martie 2007 11:11:39 | |
---|---|---|---|
Problema | Numar | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/backward/fstream.h:31,
from user.cpp:1:
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.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:34:2: warning: no newline at end of file
user.cpp:3: error: 'long int div [48000]' redeclared as different kind of symbol
/usr/include/stdlib.h:793: error: previous declaration of 'div_t div(int, int)'
user.cpp: In function 'void divizori(long int)':
user.cpp:9: error: pointer to a function used in arithmetic
user.cpp:9: error: assignment of read-only location
user.cpp:9: error: cannot convert 'long int' to 'div_t ()(int, int)' in assignment
user.cpp:10: error: pointer to a function used in arithmetic
user.cpp:10: error: assignment of read-only location
user.cpp:10: error: cannot convert 'long int' to 'div_t ()(int, int)' in assignment
user.cpp: In function 'int main()':
user.cpp:22: error: pointer to a function used in arithmetic
user.cpp:22: error: invalid operands of types 'div_t ()(int, int)' and 'int' to binary 'operator%'
user.cpp:23: error: pointer to a function used in arithmetic
user.cpp:23: error: invalid operands of types 'long int' and 'div_t ()(int, int)' to binary 'operator/'
user.cpp:24: error: pointer to a function used in arithmetic
user.cpp:24: error: invalid operands of types 'long int' and 'div_t ()(int, int)' to binary 'operator/'
user.cpp:24: error: pointer to a function used in arithmetic
user.cpp:25: error: pointer to a function used in arithmetic
user.cpp:25: error: invalid operands of types 'long int' and 'div_t ()(int, int)' to binary 'operator/'
user.cpp:25: error: pointer to a function used in arithmetic
user.cpp:25: 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 !