Borderou de evaluare (job #303021)

Utilizator hurrycaneBogdan Gaza hurrycane Data 9 aprilie 2009 14:41:53
Problema Potrivirea sirurilor Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:27: error: 'char read [2000000]' redeclared as different kind of symbol /usr/include/unistd.h:327: error: previous declaration of 'ssize_t read(int, void*, size_t)' user.cpp: In function 'int main()': user.cpp:63: error: cannot convert 'ssize_t (*)(int, void*, size_t)' to 'char*' for argument '1' to 'char* fgets(char*, int, FILE*)' user.cpp:64: error: cannot convert 'ssize_t (*)(int, void*, size_t)' to 'char*' for argument '2' to 'void ins(trie*, char*, int)' user.cpp:65: error: cannot convert 'ssize_t (*)(int, void*, size_t)' to 'const char*' for argument '1' to 'size_t strlen(const char*)' user.cpp:72: error: pointer to a function used in arithmetic user.cpp:72: error: pointer to a function used in arithmetic user.cpp:72: error: cannot convert 'ssize_t (*)(int, void*, size_t)' to 'char*' for argument '2' to 'int gf(int, char*)' user.cpp:93: warning: comparison between signed and unsigned integer expressions

Ceva nu functioneaza?