Borderou de evaluare (job #1366940)

Utilizator AnduRazvanMindrescu Andu AnduRazvan Data 1 martie 2015 14:55:06
Problema Text3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:23:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[252]’ [-Wformat=] fscanf(f,"%s\n",&sir+1); ^ user.cpp:45:23: warning: unused variable ‘x’ [-Wunused-variable] int maxi=-1,poz=0,x; ^ user.cpp:19:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%c",&c); ^ user.cpp:23:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%s\n",&sir+1); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms320kbRaspuns gresit0
20ms308kbRaspuns gresit0
30ms272kbRaspuns gresit0
40ms272kbRaspuns gresit0
5Depăşit556kbTime limit exceeded.0
6Depăşit680kbTime limit exceeded.0
70ms264kbRaspuns gresit0
8Depăşit760kbTime limit exceeded.0
90ms300kbRaspuns gresit0
100ms312kbRaspuns gresit0
Punctaj total0

Ceva nu functioneaza?