Borderou de evaluare (job #1361855)

Utilizator sebastian123aldea sebastian sebastian123 Data 26 februarie 2015 00:22:41
Problema Suma4 Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘suma’: user.c:9:5: warning: ‘return’ with a value, in function returning void [enabled by default] return 0; ^ user.c:5:15: warning: variable ‘s’ set but not used [-Wunused-but-set-variable] int i,j,k,s; ^ user.c:5:13: warning: unused variable ‘k’ [-Wunused-variable] int i,j,k,s; ^ user.c:5:11: warning: unused variable ‘j’ [-Wunused-variable] int i,j,k,s; ^ user.c:5:9: warning: unused variable ‘i’ [-Wunused-variable] int i,j,k,s; ^ user.c: In function ‘main’: user.c:25:5: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] a=(int***)malloc(m*sizeof(int*)); ^ user.c:25:15: warning: incompatible implicit declaration of built-in function ‘malloc’ [enabled by default] a=(int***)malloc(m*sizeof(int*)); ^ user.c:64:13: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] free(a[i][j]); ^ user.c:64:13: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default] user.c:66:9: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default] free(a[i]); ^ user.c:68:5: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default] free(a); ^ user.c:15:26: warning: unused variable ‘b’ [-Wunused-variable] int ***a,i,j,k,m=0,n,b; ^ user.c:16:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(pFile,"%i",&n); ^ user.c:40:23: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(pFile,"%i",&a[i][j][k]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbKilled by signal 11(SIGSEGV).0
20ms260kbKilled by signal 11(SIGSEGV).0
30ms272kbKilled by signal 11(SIGSEGV).0
40ms296kbKilled by signal 11(SIGSEGV).0
58ms416kbKilled by signal 11(SIGSEGV).0
68ms448kbKilled by signal 11(SIGSEGV).0
78ms484kbKilled by signal 11(SIGSEGV).0
812ms508kbKilled by signal 11(SIGSEGV).0
912ms528kbKilled by signal 11(SIGSEGV).0
100ms248kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?