Borderou de evaluare (job #1676192)

Utilizator serbanSlincu Serban serban Data 5 aprilie 2016 19:20:22
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:54:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[305]’ [-Wformat=] fscanf(f, "%s\n", &s); ^ user.cpp:62:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[305]’ [-Wformat=] fscanf(f, "%s\n", &s); ^ user.cpp:51: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:54: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:60: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:62: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
10ms496kbIncorect0
20ms992kbIncorect0
34ms3028kbIncorect0
432ms16936kbIncorect0
5140ms80620kbIncorect0
6184ms100712kbIncorect0
7Depăşit129616kbTime limit exceeded.0
8Depăşit125000kbTime limit exceeded.0
9Depăşit120772kbTime limit exceeded.0
10Depăşit123148kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?