Borderou de evaluare (job #1240068)

Utilizator BaweeLazar Vlad Bawee Data 10 octombrie 2014 13:47:38
Problema Text3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 34

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:10:24: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[21]’ [-Wformat=] fscanf(f,"%s",&x[n]); ^ user.cpp:14:28: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[21]’ [-Wformat=] fscanf(f,"%s",&x[n]); ^ user.cpp:10:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%s",&x[n]); ^ user.cpp:14:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%s",&x[n]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
120ms324kbPartial incorect1
24ms296kbPartial incorect1
30ms264kbPartial incorect1
40ms264kbPartial incorect1
5Depăşit484kbTime limit exceeded.0
6Depăşit576kbTime limit exceeded.0
70ms272kbCorect10
8Depăşit672kbTime limit exceeded.0
94ms296kbCorect10
104ms292kbCorect10
Punctaj total34

Ceva nu functioneaza?