Borderou de evaluare (job #501784)

Utilizator S7012MYPetru Trimbitas S7012MY Data 16 noiembrie 2010 17:16:33
Problema Aranjare Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:17: error: 'std::string rand' redeclared as different kind of symbol /usr/include/stdlib.h:380: error: previous declaration of 'int rand()' user.cpp: In function 'void mut(int)': user.cpp:21: error: pointer to a function used in arithmetic user.cpp:21: error: pointer to a function used in arithmetic user.cpp:21: error: assignment of read-only location user.cpp:21: error: cannot convert 'int ()()' to 'int ()()' in assignment user.cpp:22: error: pointer to a function used in arithmetic user.cpp:22: error: pointer to a function used in arithmetic user.cpp:22: error: pointer to a function used in arithmetic user.cpp:22: error: pointer to a function used in arithmetic user.cpp:22: error: assignment of read-only location user.cpp:22: error: cannot convert 'int ()()' to 'int ()()' in assignment 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: pointer to a function used in arithmetic user.cpp:23: error: assignment of read-only location user.cpp:23: error: cannot convert 'char' to 'int ()()' in assignment user.cpp: In function 'void muta(int)': user.cpp:28: error: pointer to a function used in arithmetic user.cpp:28: error: pointer to a function used in arithmetic user.cpp:28: error: ISO C++ forbids comparison between pointer and integer user.cpp:34: error: pointer to a function used in arithmetic user.cpp:34: error: ISO C++ forbids comparison between pointer and integer user.cpp: In function 'int main()': user.cpp:47: error: invalid conversion from 'void*' to 'char**' user.cpp:47: error: cannot convert 'int (*)()throw ()' to 'size_t*' for argument '2' to '__ssize_t getline(char**, size_t*, FILE*)' user.cpp:48: error: request for member 'size' in 'rand', which is of non-class type 'int ()()throw ()' user.cpp:49: error: pointer to a function used in arithmetic user.cpp:49: error: ISO C++ forbids comparison between pointer and integer user.cpp:50: error: pointer to a function used in arithmetic user.cpp:50: error: ISO C++ forbids comparison between pointer and integer user.cpp:51: error: pointer to a function used in arithmetic user.cpp:51: error: ISO C++ forbids comparison between pointer and integer

Ceva nu functioneaza?