Borderou de evaluare (job #2163974)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 12 martie 2018 20:48:05
Problema Cub Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:34:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘bool*’ [-Wformat=] fscanf(fi,"%d " ,&mat[x][y][z]); ^ user.cpp:25:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d %d " ,&n,&k); ^ user.cpp:26:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d %d %d " ,&f,&l,&c); ^ user.cpp:28:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d %d %d " ,&x,&y,&z); ^ user.cpp:34:48: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d " ,&mat[x][y][z]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms2948kbOK10
24ms2924kbOK10
34ms2888kbOK10
44ms2768kbOK10
54ms2984kbOK10
68ms3152kbIncorect0
74ms2848kbIncorect0
84ms2864kbOK10
94ms2992kbOK10
108ms3140kbOK10
Punctaj total80

Ceva nu functioneaza?