Borderou de evaluare (job #1666012)

Utilizator MihailPJack ONeill MihailP Data 27 martie 2016 16:09:05
Problema Palindroame Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:38:21: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[200]’ [-Wformat=] fscanf(f, "%s", &s); ^ user.cpp:33:15: warning: unused variable ‘ch’ [-Wunused-variable] char s[200], ch; ^ user.cpp:34:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &t); ^ user.cpp:38:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%s", &s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbIncorect0
Punctaj total0

Ceva nu functioneaza?