Borderou de evaluare (job #1373291)

Utilizator BaweeLazar Vlad Bawee Data 4 martie 2015 17:52:44
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
30ms264kbCorect10
40ms260kbCorect10
5Depăşit512kbTime limit exceeded.0
6Depăşit604kbTime limit exceeded.0
70ms272kbCorect10
8Depăşit700kbTime limit exceeded.0
94ms300kbCorect10
104ms292kbCorect10
Punctaj total70

Ceva nu functioneaza?