Borderou de evaluare (job #1835904)

Utilizator Coroian_DavidCoroian David Coroian_David Data 27 decembrie 2016 15:46:12
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
30ms676kbIncorect0
44ms1072kbIncorect0
50ms752kbOK10
60ms748kbIncorect0
74ms1408kbIncorect0
8108ms3040kbIncorect0
9412ms5512kbIncorect0
10348ms6904kbIncorect0
Punctaj total10

Ceva nu functioneaza?