Borderou de evaluare (job #1349288)

Utilizator nacrocRadu C nacroc Data 20 februarie 2015 08:22:41
Problema Sudest Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:53:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d",&mat[i][j]); ^ user.cpp:56:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d",&v[i]); ^ user.cpp:49:20: warning: variable ‘max’ set but not used [-Wunused-but-set-variable] int i, j, ind, max; ^ user.cpp:47:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sudest.in","r",stdin); ^ user.cpp:48:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sudest.out","w",stdout); ^ user.cpp:50:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:53:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&mat[i][j]); ^ user.cpp:54:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&m); ^ user.cpp:56:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbRaspuns gresit!0
20ms280kbRaspuns gresit!0
30ms280kbRaspuns gresit!0
40ms284kbRaspuns gresit!0
50ms604kbKilled by signal 11(SIGSEGV).0
60ms308kbRaspuns gresit!0
70ms532kbKilled by signal 11(SIGSEGV).0
80ms528kbKilled by signal 11(SIGSEGV).0
90ms308kbKilled by signal 11(SIGSEGV).0
100ms268kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?