Borderou de evaluare (job #106567)

Utilizator SycronVene Tian Sycron Data 18 noiembrie 2007 19:20:13
Problema Numar de Divizori 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:1: /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:18:2: warning: no newline at end of file user.cpp: In function 'int main()': user.cpp:10: error: pointer to a function used in arithmetic user.cpp:10: error: assignment of function 'div_t div(int, int)' user.cpp:10: error: cannot convert 'div_t (*)(int, int)throw ()' to 'div_t ()(int, int)throw ()' in assignment user.cpp:12: error: increment of read-only location user.cpp:12: error: ISO C++ forbids incrementing a pointer of type 'div_t (*)(int, int)throw ()' user.cpp:12: error: lvalue required as increment operand user.cpp:15: warning: the address of 'div_t div(int, int)' will always evaluate as 'true'

Ceva nu functioneaza?