Borderou de evaluare (job #1676868)

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

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", &v); ^ user.cpp:81:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[305]’ [-Wformat=] fscanf(f, "%s\n", &v); ^ 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", &n); x = n; ^ 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", &v); ^ 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", &v); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms488kbIncorect0
20ms924kbIncorect0
34ms2720kbIncorect0
440ms14992kbIncorect0
5192ms71188kbIncorect0
6Depăşit88880kbTime limit exceeded.0
7Depăşit115896kbTime limit exceeded.0
8Depăşit112460kbTime limit exceeded.0
9Depăşit111796kbTime limit exceeded.0
10Depăşit111004kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?