Pagini recente » Borderou de evaluare (job #262053) | Borderou de evaluare (job #441151) | Borderou de evaluare (job #1843107) | Borderou de evaluare (job #2219941) | Borderou de evaluare (job #1217574)
Borderou de evaluare (job #1217574)
Raport evaluator
Compilare:
user.c: In function ‘sum’:
user.c:55: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:69: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:72: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:74: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:77:1: warning: passing argument 1 of ‘sum’ from incompatible pointer type [enabled by default]
sum(a,m,n);
^
user.c:48: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:56:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.c: In function ‘main’:
user.c:66: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 | 256kb | Ok! | 10 |
5 | 0ms | 248kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 248kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 248kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 248kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 30 |