Borderou de evaluare (job #1373333)

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

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
124ms328kbCorect10
24ms296kbCorect10
30ms268kbCorect10
40ms264kbCorect10
5Depăşit508kbTime limit exceeded.0
6Depăşit600kbTime limit exceeded.0
70ms268kbCorect10
8Depăşit696kbTime limit exceeded.0
94ms300kbCorect10
104ms296kbCorect10
Punctaj total70

Ceva nu functioneaza?