Borderou de evaluare (job #143657)

Utilizator mada_409mada stoia mada_409 Data 26 februarie 2008 19:05:48
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/iostream.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:25:2: warning: no newline at end of file user.cpp: In function 'int div(int, int)': user.cpp:3: error: new declaration 'int div(int, int)' /usr/include/stdlib.h:799: error: ambiguates old declaration 'div_t div(int, int)' user.cpp: In function 'int main()': user.cpp:19: error: could not convert 'div(i, j)' to 'bool'

Ceva nu functioneaza?