Borderou de evaluare (job #1372613)

Utilizator serbanSlincu Serban serban Data 4 martie 2015 14:36:34
Problema Palindrom2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:27:21: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[1005]’ [-Wformat=] fscanf(f,"%s",&a); ^ user.cpp:35:21: error: ‘strrev’ was not declared in this scope strrev(b); ^ user.cpp:27:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%s",&a); ^

Ceva nu functioneaza?