Borderou de evaluare (job #585202)

Utilizator AndreyPAndrei Poenaru AndreyP Data 28 aprilie 2011 14:02:44
Problema Hacker2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:16: error: 'int dup [100010]' redeclared as different kind of symbol /usr/include/unistd.h:490: error: previous declaration of 'int dup(int)' user.cpp: In function 'void dfsu(int)': user.cpp:62: error: pointer to a function used in arithmetic user.cpp:62: error: pointer to a function used in arithmetic user.cpp:62: error: pointer to a function used in arithmetic user.cpp:62: error: assignment of read-only location user.cpp:62: error: cannot convert 'int (*)(int)throw ()' to 'int ()(int)' in assignment user.cpp:70: error: pointer to a function used in arithmetic user.cpp:70: error: assignment of read-only location user.cpp:70: error: cannot convert 'int' to 'int ()(int)' in assignment user.cpp:78: error: pointer to a function used in arithmetic user.cpp:78: error: assignment of read-only location user.cpp:78: error: cannot convert 'int' to 'int ()(int)' in assignment user.cpp: In function 'void vezi()': user.cpp:150: error: pointer to a function used in arithmetic user.cpp:150: error: ISO C++ forbids comparison between pointer and integer user.cpp:155: error: pointer to a function used in arithmetic user.cpp:155: error: invalid operands of types 'int' and 'int ()(int)' to binary 'operator-' user.cpp:155: error: in evaluation of 'operator-=(int, int ()(int))'

Ceva nu functioneaza?