Borderou de evaluare (job #111381)
Utilizator | Data | 29 noiembrie 2007 18:04:17 | |
---|---|---|---|
Problema | Maxd | 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/iostream.h:31,
from user.cpp:2:
/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:6: error: 'short int div [20000]' redeclared as different kind of symbol
/usr/include/stdlib.h:799: error: previous declaration of 'div_t div(int, int)'
user.cpp: In function 'int algoritm()':
user.cpp:13: error: pointer to a function used in arithmetic
user.cpp:13: error: invalid conversion from 'div_t (*)(int, int)throw ()' to 'long long int'
user.cpp:14: error: pointer to a function used in arithmetic
user.cpp:14: error: pointer to a function used in arithmetic
user.cpp:14: error: assignment of read-only location
user.cpp:14: error: cannot convert 'div_t (*)(int, int)throw ()' to 'div_t ()(int, int)' in assignment
user.cpp:16: error: pointer to a function used in arithmetic
user.cpp:16: error: ISO C++ forbids comparison between pointer and integer
user.cpp:16: error: pointer to a function used in arithmetic
user.cpp:16: error: invalid conversion from 'div_t (*)(int, int)throw ()' to 'long long int'
user.cpp:18: error: pointer to a function used in arithmetic
user.cpp:18: error: ISO C++ forbids comparison between pointer and integer
user.cpp: In function 'int main()':
user.cpp:28: error: pointer to a function used in arithmetic
user.cpp:28: error: assignment of read-only location
user.cpp:28: error: cannot convert 'int' to 'div_t ()(int, int)' in assignment
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !