Pagini recente » Borderou de evaluare (job #2791938) | Borderou de evaluare (job #942627) | Cod sursa (job #2139590) | Borderou de evaluare (job #3115317) | Borderou de evaluare (job #1217576)
Borderou de evaluare (job #1217576)
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 |
| 1 | 0ms | 252kb | Ok! | 10 |
| 2 | 0ms | 252kb | Raspuns gresit | 0 |
| 3 | 0ms | 252kb | Ok! | 10 |
| 4 | 0ms | 252kb | Ok! | 10 |
| 5 | 0ms | 248kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 0ms | 252kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 0ms | 248kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 0ms | 248kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 30 |