Borderou de evaluare (job #259393)

Utilizator razvan_3dragomir razvan razvan_3 Data 15 februarie 2009 12:57:16
Problema Jocul Flip Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: 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:7: error: 'int rand [17]' redeclared as different kind of symbol /usr/include/stdlib.h:380: error: previous declaration of 'int rand()' user.cpp: In function 'void calculeaza()': user.cpp:14: error: pointer to a function used in arithmetic user.cpp:14: error: invalid operands of types 'long int' and 'int ()()' to binary 'operator*' user.cpp: In function 'void back(int, int)': user.cpp:23: error: pointer to a function used in arithmetic user.cpp:23: error: pointer to a function used in arithmetic user.cpp:23: error: assignment of read-only location user.cpp:23: error: cannot convert 'int' to 'int ()()' in assignment user.cpp:25: error: pointer to a function used in arithmetic user.cpp:25: error: pointer to a function used in arithmetic user.cpp:25: error: assignment of read-only location user.cpp:25: error: cannot convert 'int' to 'int ()()' in assignment user.cpp: In function 'int main()': user.cpp:45: error: pointer to a function used in arithmetic user.cpp:45: error: assignment of read-only location user.cpp:45: error: cannot convert 'int' to 'int ()()' in assignment user.cpp:47: error: pointer to a function used in arithmetic user.cpp:47: error: assignment of read-only location user.cpp:47: error: cannot convert 'int' to 'int ()()' in assignment

Ceva nu functioneaza?