Borderou de evaluare (job #1676546)

Utilizator serbanSlincu Serban serban Data 5 aprilie 2016 23:28:56
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:53:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[305]’ [-Wformat=] fscanf(f, "%s\n", &s); ^ user.cpp:64:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[305]’ [-Wformat=] fscanf(f, "%s\n", &s); ^ user.cpp:50: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:53: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:62: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:64: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
10ms500kbIncorect0
20ms1020kbIncorect0
34ms3180kbIncorect0
432ms17904kbIncorect0
5152ms85336kbIncorect0
6196ms106612kbIncorect0
7Depăşit129620kbTime limit exceeded.0
8Depăşit131200kbTime limit exceeded.0
9Depăşit131336kbTime limit exceeded.0
10Depăşit128304kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?