Borderou de evaluare (job #1479507)

Utilizator MaligMamaliga cu smantana Malig Data 31 august 2015 15:28:02
Problema Euclid Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:32:21: warning: format ‘%i’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f,"%i",&T); ^ user.cpp:34:40: warning: format ‘%i’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f,"%i%i%i%i",&N,&M,&h,&w); ^ user.cpp:34:40: warning: format ‘%i’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:34:40: warning: format ‘%i’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:34:40: warning: format ‘%i’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=] user.cpp:32:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%i",&T); ^ user.cpp:34:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%i%i%i%i",&N,&M,&h,&w); ^ user.cpp:37:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%i",&a[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms444kbIncorect0
20ms444kbIncorect0
30ms444kbIncorect0
40ms448kbIncorect0
50ms444kbIncorect0
60ms440kbIncorect0
70ms440kbIncorect0
80ms448kbIncorect0
90ms444kbIncorect0
100ms444kbIncorect0
Punctaj total0

Ceva nu functioneaza?