Borderou de evaluare (job #1347721)

Utilizator AndreiIstetulAndrei Andrei AndreiIstetul Data 19 februarie 2015 09:48:24
Problema Tsunami Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:38:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf (f, "%d%d%d", &n, &m, &h); ^ user.cpp:38:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:38:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:42:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf (f, "%d", &mat[i][j]); ^ user.cpp:38:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (f, "%d%d%d", &n, &m, &h); ^ user.cpp:42:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (f, "%d", &mat[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms420kbIncorect0
20ms420kbIncorect0
30ms424kbIncorect0
40ms424kbIncorect0
50ms424kbIncorect0
60ms424kbIncorect0
70ms428kbIncorect0
80ms424kbIncorect0
90ms428kbIncorect0
100ms420kbIncorect0
Punctaj total0

Ceva nu functioneaza?