Borderou de evaluare (job #206760)

Utilizator mad200647Mihai Toma mad200647 Data 9 septembrie 2008 13:23:41
Problema Algoritmul lui Euclid Status done
Runda Arhiva educationala 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:18:2: warning: no newline at end of file user.cpp:3: error: 'long unsigned int div' redeclared as different kind of symbol /usr/include/stdlib.h:706: error: previous declaration of 'div_t div(int, int)' user.cpp: In function 'int main()': user.cpp:10: error: no match for 'operator>>' in 'g >> a' user.cpp:11: error: assignment of function 'div_t div(int, int)' user.cpp:11: error: cannot convert 'int' to 'div_t ()(int, int)throw ()' in assignment user.cpp:13: error: invalid operands of types 'div_t ()(int, int)throw ()' and 'long unsigned int' to binary 'operator*' user.cpp:13: error: in evaluation of 'operator*=(struct div_t ()(int, int)throw (), long unsigned int)' user.cpp:13: error: invalid operands of types 'long unsigned int' and 'div_t ()(int, int)throw ()' to binary 'operator/' user.cpp:13: error: in evaluation of 'operator/=(long unsigned int, struct div_t ()(int, int)throw ())' user.cpp:13: error: invalid operands of types 'long unsigned int' and 'div_t ()(int, int)throw ()' to binary 'operator/' user.cpp:13: error: in evaluation of 'operator/=(long unsigned int, struct div_t ()(int, int)throw ())' user.cpp:15: warning: the address of 'div_t div(int, int)' will always evaluate as 'true'

Ceva nu functioneaza?