Borderou de evaluare (job #1623235)

Utilizator penetavyPene Cosmin-Octavian penetavy Data 1 martie 2016 18:14:04
Problema Lacusta Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:10:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=] fscanf(fin, "%d", &ma[1][1]); ^ user.cpp:14:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=] fscanf(fin, "%d", &ma[1][j]); ^ user.cpp:17:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=] fscanf(fin, "%d", &ma[2][1]); ^ user.cpp:19:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=] fscanf(fin, "%d", &ma[2][j]); ^ user.cpp:41:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=] fscanf(fin, "%d", &ma[i][j]); ^ user.cpp:63:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=] fscanf(fin, "%d", &ma[n][j]); ^ user.cpp:71:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=] fscanf(fin, "%d", &ma[n][m]); ^ user.cpp:9:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d %d", &n, &m); ^ user.cpp:10:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &ma[1][1]); ^ user.cpp:14:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &ma[1][j]); ^ user.cpp:17:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &ma[2][1]); ^ user.cpp:19:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &ma[2][j]); ^ user.cpp:41:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &ma[i][j]); ^ user.cpp:63:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &ma[n][j]); ^ user.cpp:71:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &ma[n][m]); ^ user.cpp:45:40: warning: ‘j1’ may be used uninitialized in this function [-Wmaybe-uninitialized] NR = MIN2 + ma[i - 1][j] + ma[i][j]; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
112ms392kbOK1030
28ms368kbOK10
30ms296kbOK10
40ms296kbOK1030
50ms324kbOK10
60ms308kbOK10
70ms296kbOK1040
80ms320kbOK10
90ms328kbOK10
1012ms384kbOK10
Punctaj total100

Ceva nu functioneaza?