Borderou de evaluare (job #1254558)

Utilizator george_stelianChichirim George george_stelian Data 2 noiembrie 2014 21:47:13
Problema Tsunami Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void fil(short int, short int)’: user.cpp:16:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] x=i+auxx[k];y=j+auxy[k]; ^ user.cpp:16:31: warning: array subscript has type ‘char’ [-Wchar-subscripts] x=i+auxx[k];y=j+auxy[k]; ^ user.cpp: In function ‘int main()’: user.cpp:26:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d%d",&n,&m,&h); ^ user.cpp:26:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:26:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:28:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] for(int j=1;j<=m;j++) scanf("%d",&v[i][j]); ^ user.cpp:24:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tsunami.in", "r", stdin); ^ user.cpp:25:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tsunami.out", "w", stdout); ^ user.cpp:26:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&n,&m,&h); ^ user.cpp:28:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int j=1;j<=m;j++) scanf("%d",&v[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms256kbIncorect0
20ms252kbIncorect0
30ms252kbIncorect0
40ms252kbIncorect0
50ms256kbIncorect0
60ms252kbIncorect0
70ms252kbIncorect0
80ms248kbIncorect0
90ms248kbIncorect0
100ms252kbIncorect0
Punctaj total0

Ceva nu functioneaza?