Borderou de evaluare (job #1835905)

Utilizator Coroian_DavidCoroian David Coroian_David Data 27 decembrie 2016 15:46:16
Problema Taxa Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void readFile()’: user.cpp:42:75: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] fscanf(f, "%d%d%d%d%d%d\n", &n, &m, &pozs.l, &pozs.c, &pozf.l, &pozf.c); ^ user.cpp:42:75: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=] user.cpp:42:75: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘short int*’ [-Wformat=] user.cpp:42:75: warning: format ‘%d’ expects argument of type ‘int*’, but argument 8 has type ‘short int*’ [-Wformat=] user.cpp:42:76: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d%d%d%d%d%d\n", &n, &m, &pozs.l, &pozs.c, &pozf.l, &pozf.c); ^ user.cpp:49:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(s, 2007, f); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms344kbIncorect0
20ms688kbIncorect0
30ms684kbIncorect0
44ms1068kbIncorect0
50ms756kbOK10
60ms752kbIncorect0
74ms1408kbIncorect0
8108ms3036kbIncorect0
9412ms5508kbIncorect0
10348ms6912kbIncorect0
Punctaj total10

Ceva nu functioneaza?