Borderou de evaluare (job #1676867)

Utilizator serbanSlincu Serban serban Data 6 aprilie 2016 10:56:27
Problema Sub Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:72:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[305]’ [-Wformat=] fscanf(f, "%s\n", &v); ^ user.cpp:80:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[305]’ [-Wformat=] fscanf(f, "%s\n", &v); ^ user.cpp:69:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d\n", &n); x = n; ^ user.cpp:72:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%s\n", &v); ^ user.cpp:78: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:80:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%s\n", &v); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms496kbOK10
20ms984kbOK10
34ms3024kbOK10
444ms16932kbOK10
5Depăşit80624kbTime limit exceeded.0
6Depăşit100672kbTime limit exceeded.0
7Depăşit115364kbTime limit exceeded.0
8Depăşit119724kbTime limit exceeded.0
9Depăşit116296kbTime limit exceeded.0
10Depăşit118140kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?