Borderou de evaluare (job #1217576)

Utilizator raztviVoicu Razvan raztvi Data 7 august 2014 19:20:32
Problema Jocul Flip Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.c: In function ‘sum’: user.c:48:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(g,"%d",s); ^ user.c: In function ‘main’: user.c:62:1: warning: passing argument 1 of ‘citeste’ from incompatible pointer type [enabled by default] citeste(a,m,n); ^ user.c:5:6: note: expected ‘int (*)[16]’ but argument is of type ‘int (*)[10]’ void citeste(int a[16][16],int m,int n) ^ user.c:65:1: warning: passing argument 1 of ‘coloana’ from incompatible pointer type [enabled by default] coloana(a,m,n); ^ user.c:26:5: note: expected ‘int (*)[16]’ but argument is of type ‘int (*)[10]’ int coloana(int a[16][16],int m,int n) ^ user.c:67:1: warning: passing argument 1 of ‘linie’ from incompatible pointer type [enabled by default] linie(a,m,n); ^ user.c:13:5: note: expected ‘int (*)[16]’ but argument is of type ‘int (*)[10]’ int linie(int a[16][16],int m,int n) ^ user.c:70:1: warning: passing argument 1 of ‘sum’ from incompatible pointer type [enabled by default] sum(a,m,n); ^ user.c:41:5: note: expected ‘int (*)[16]’ but argument is of type ‘int (*)[10]’ int sum(int a[16][16],int m,int n) ^ user.c: In function ‘citeste’: user.c:9:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&a[i][j]); ^ user.c: In function ‘linie’: user.c:24:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.c: In function ‘coloana’: user.c:37:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.c: In function ‘sum’: user.c:49:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.c: In function ‘main’: user.c:59:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d",&n,&m); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms252kbOk!10
20ms252kbRaspuns gresit0
30ms252kbOk!10
40ms252kbOk!10
50ms248kbKilled by signal 11(SIGSEGV).0
60ms252kbKilled by signal 11(SIGSEGV).0
70ms248kbKilled by signal 11(SIGSEGV).0
80ms232kbKilled by signal 11(SIGSEGV).0
90ms244kbKilled by signal 11(SIGSEGV).0
100ms248kbKilled by signal 11(SIGSEGV).0
Punctaj total30

Ceva nu functioneaza?