Borderou de evaluare (job #1373332)

Utilizator BaweeLazar Vlad Bawee Data 4 martie 2015 18:07:23
Problema Text3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 7

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:26: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[21]’ [-Wformat=] fscanf(f,"%s",&v[k++]); ^ user.cpp:18:42: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[21]’ [-Wformat=] while(!feof(f)) fscanf(f,"%s",&v[k++]); ^ user.cpp:17:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%s",&v[k++]); ^ user.cpp:18:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] while(!feof(f)) fscanf(f,"%s",&v[k++]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
124ms328kbPartial incorect1
24ms292kbPartial incorect1
30ms264kbPartial incorect1
40ms264kbPartial incorect1
5Depăşit504kbTime limit exceeded.0
6Depăşit600kbTime limit exceeded.0
70ms264kbPartial incorect1
8Depăşit692kbTime limit exceeded.0
94ms296kbPartial incorect1
104ms296kbPartial incorect1
Punctaj total7

Ceva nu functioneaza?