Borderou de evaluare (job #1676133)

Utilizator serbanSlincu Serban serban Data 5 aprilie 2016 18:56:18
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:51:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[305]’ [-Wformat=] fscanf(f, "%s\n", &s); ^ user.cpp:59:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[305]’ [-Wformat=] fscanf(f, "%s\n", &s); ^ user.cpp:48: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:51: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:57: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:59: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
10ms488kbOK10
20ms924kbOK10
34ms2724kbOK10
440ms14996kbOK10
5188ms71196kbIncorect0
6Depăşit88872kbTime limit exceeded.0
7Depăşit120248kbTime limit exceeded.0
8Depăşit122756kbTime limit exceeded.0
9Depăşit120912kbTime limit exceeded.0
10Depăşit122492kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?