Borderou de evaluare (job #1676178)

Utilizator serbanSlincu Serban serban Data 5 aprilie 2016 19:16:32
Problema Sub Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:73:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[305]’ [-Wformat=] fscanf(f, "%s\n", &s); ^ user.cpp:81:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[305]’ [-Wformat=] fscanf(f, "%s\n", &s); ^ user.cpp:70:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d\n", &x); int n = x; ^ user.cpp:73:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%s\n", &s); ^ user.cpp:79:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d\n", &n); ^ user.cpp:81:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%s\n", &s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms496kbOK10
20ms988kbOK10
34ms3028kbOK10
440ms16932kbOK10
5192ms80624kbOK10
6Depăşit100692kbTime limit exceeded.0
7Depăşit131068kbTime limit exceeded.0
8Depăşit127644kbTime limit exceeded.0
9Depăşit126716kbTime limit exceeded.0
10Depăşit128300kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?