Borderou de evaluare (job #1305555)

Utilizator Liviu98Dinca Liviu Liviu98 Data 29 decembrie 2014 21:18:13
Problema Reteta2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 44

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:28:33: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[1005]’ [-Wformat=] fscanf(pFile,"%s",&s); ^ user.cpp:12:28: warning: unused variable ‘jmax’ [-Wunused-variable] int t,tt=0,i=0,gasit=0,jmax=0,m,j,man; ^ user.cpp:18:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(pFile,"%c",&c); ^ user.cpp:21:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(pFile,"%d",&t); ^ user.cpp:28:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(pFile,"%s",&s); ^ user.cpp:34:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(pFile,"%d",&v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms440kbOK!10
20ms440kbAfisarea Ingredientelor gresita3
30ms444kbAfisarea Ingredientelor gresita3
40ms440kbOK!10
50ms452kbAfisarea Ingredientelor gresita3
60ms448kbAfisarea Ingredientelor gresita3
70ms444kbAfisarea Ingredientelor gresita3
80ms452kbAfisarea Ingredientelor gresita3
90ms448kbAfisarea Ingredientelor gresita3
100ms444kbAfisarea Ingredientelor gresita3
Punctaj total44

Ceva nu functioneaza?